#213E6A#213E6A

#213E6A is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.5% C 0.084 H 258.5°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#213E6A
RGBrgb(33, 62, 106)
HSLhsl(216, 53%, 27%)
HSVhsv(216, 69%, 42%)
CMYKcmyk(68.9%, 41.5%, 0%, 58.4%)
CIE-LABlab(26.18, 4.90, -28.93)
CIE-LCHlch(26.18, 29.35, 279.62°)
OKLaboklab(36.5% -0.0167 -0.0823)
OKLCHoklch(36.5% 0.084 258.5)
XYZxyz(4.9504, 4.8087, 14.3002)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213E6A #6A4D21
analogous
#21636A #213E6A #28216A
triadic
#213E6A #6A213E #3E6A21
tetradic
#213E6A #6A2163 #6A4D21 #216A28
square
#213E6A #6A2163 #6A4D21 #216A28
split-complementary
#213E6A #6A2821 #636A21
monochromatic
#070E17 #12233B #213E6A #305999 #4175C4

Accessibility & contrast

On white

10.70
#213E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#213E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213E6A
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213E6A#FFFFFF#000000##FFFFFF
##213E6A1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A426C
Deuteranopia (green-blind)
#203B69
Tritanopia (blue-blind)
#00484E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #213e6a;
/* rgb */ color: rgb(33, 62, 106);
/* oklch */ color: oklch(36.5% 0.084 258.5);
Tailwind
colors: {
  custom: {
    50: '#657295',
    500: '#213e6a',
    950: '#000000',
  },
}
SCSS
$custom: #213e6a;
$custom-light: #657295;
$custom-dark: #000000;
JSON
{
  "hex": "#213e6a",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 106
  },
  "hsl": {
    "h": 216.164,
    "s": 52.518,
    "l": 27.255
  },
  "oklch": {
    "l": 0.36501,
    "c": 0.08401,
    "h": 258.5
  },
  "luminance": 0.04809
}

Semantic roles & 50–950 ramp

primary
#213E6A
secondary
#9E7C49
accent
#A34CDC
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #213E6A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#213E6A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva