#213D5F#213D5F

#213D5F is a dark, moderate cyan. Relative luminance 0.045; OKLCH L 35.5% C 0.069 H 254.3°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#213D5F
RGBrgb(33, 61, 95)
HSLhsl(213, 48%, 25%)
HSVhsv(213, 65%, 37%)
CMYKcmyk(65.3%, 35.8%, 0%, 62.7%)
CIE-LABlab(25.22, 1.33, -23.36)
CIE-LCHlch(25.22, 23.40, 273.26°)
OKLaboklab(35.54% -0.0186 -0.0661)
OKLCHoklch(35.54% 0.069 254.3)
XYZxyz(4.3608, 4.4866, 11.4605)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213D5F #5F4321
analogous
#215C5F #213D5F #24215F
triadic
#213D5F #5F213D #3D5F21
tetradic
#213D5F #5F215C #5F4321 #215F24
square
#213D5F #5F215C #5F4321 #215F24
split-complementary
#213D5F #5F2421 #5C5F21
monochromatic
#080F17 #112032 #213D5F #315A8C #4177BA

Accessibility & contrast

On white

11.07
#213D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#213D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213D5F
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213D5F#FFFFFF#000000##FFFFFF
##213D5F1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3F60
Deuteranopia (green-blind)
#26395E
Tritanopia (blue-blind)
#004549
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #213d5f;
/* rgb */ color: rgb(33, 61, 95);
/* oklch */ color: oklch(35.5% 0.069 254.3);
Tailwind
colors: {
  custom: {
    50: '#63728c',
    500: '#213d5f',
    950: '#000000',
  },
}
SCSS
$custom: #213d5f;
$custom-light: #63728c;
$custom-dark: #000000;
JSON
{
  "hex": "#213d5f",
  "rgb": {
    "r": 33,
    "g": 61,
    "b": 95
  },
  "hsl": {
    "h": 212.903,
    "s": 48.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35541,
    "c": 0.06863,
    "h": 254.3
  },
  "luminance": 0.04487
}

Semantic roles & 50–950 ramp

primary
#213D5F
secondary
#937249
accent
#9A50D8
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#05070C
muted
#7A7A7D

Preview Lab

Preview with #213D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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