Skip to main content

#2B2D5C Space Cadet

The nearest named color to #2B2D5C is Space Cadet (#1D2951).

#2B2D5C

Space Cadet

What are the RGB, HSL, OKLCH and CMYK values of #2B2D5C?

HEX
#2B2D5C
RGB
rgb(43, 45, 92)
HSL
hsl(238, 36%, 26%)
OKLCH
oklch(32.2% 0.082 279)
CMYK
53, 51, 0, 64

#2B2D5C has a contrast ratio of 12.86:1 against white and 1.63:1 against black, so white is the better background for text in this color and light text reads best on it.

Contrast checker

Text color (rows) on background (columns), scored against WCAG 2.2. White and near-black text on this color.

WCAG contrast ratio for each text and background color combination
Text ↓ / Bg → #2B2D5C
#2B2D5C
Same color
White
12.9AAA
Near-black
1.4Fail

AAA ≥ 7:1 · AA ≥ 4.5:1 body text· AA18 ≥ 3:1 large text (18pt, or 14pt bold) only

Text that works on each color

  • White on #2B2D5C · 12.9:1

Tints and shades of #2B2D5C

Same hue and chroma in OKLCH, lighter to darker.

  1. #F3F4FF
  2. #CCD2FF
  3. #ABB2EB
  4. #8D94CB
  5. #7177AC
  6. #565B8E
  7. #3D4071
  8. #2B2D5C
  9. #100D3A

Colors that go with #2B2D5C

Six harmony rules built from this color. Open any in the Studio.

Color blindness check

About 1 in 12 men and 1 in 200 women see color differently. Simulated with the Machado (2009) model.

Typical
Deuteranopia

No green cones — the most common form. No two swatches become hard to tell apart here.

Export

Copy-paste code, or download the swatches.

:root {
  --space-cadet-1: #2B2D5C; /* Space Cadet */
}

Palettes, gradients and meshes with #2B2D5C

Items using this color or one perceptually close to it, closest first.