#213D5D#213D5D

#213D5D is a dark, moderate cyan. Relative luminance 0.045; OKLCH L 35.4% C 0.066 H 253.0°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#213D5D
RGBrgb(33, 61, 93)
HSLhsl(212, 48%, 25%)
HSVhsv(212, 65%, 36%)
CMYKcmyk(64.5%, 34.4%, 0%, 63.5%)
CIE-LABlab(25.11, 0.57, -22.24)
CIE-LCHlch(25.11, 22.24, 271.46°)
OKLaboklab(35.42% -0.0192 -0.0628)
OKLCHoklch(35.42% 0.066 253)
XYZxyz(4.2710, 4.4507, 10.9878)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213D5D #5D4121
analogous
#215B5D #213D5D #23215D
triadic
#213D5D #5D213D #3D5D21
tetradic
#213D5D #5D215B #5D4121 #215D23
square
#213D5D #5D215B #5D4121 #215D23
split-complementary
#213D5D #5D2321 #5B5D21
monochromatic
#080F17 #111F30 #213D5D #315B8A #4178B7

Accessibility & contrast

On white

11.11
#213D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#213D5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213D5D
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213D5D#FFFFFF#000000##FFFFFF
##213D5D1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303F5E
Deuteranopia (green-blind)
#28395C
Tritanopia (blue-blind)
#004448
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #213d5d;
/* rgb */ color: rgb(33, 61, 93);
/* oklch */ color: oklch(35.4% 0.066 253.0);
Tailwind
colors: {
  custom: {
    50: '#62728b',
    500: '#213d5d',
    950: '#000000',
  },
}
SCSS
$custom: #213d5d;
$custom-light: #62728b;
$custom-dark: #000000;
JSON
{
  "hex": "#213d5d",
  "rgb": {
    "r": 33,
    "g": 61,
    "b": 93
  },
  "hsl": {
    "h": 212,
    "s": 47.619,
    "l": 24.706
  },
  "oklch": {
    "l": 0.35418,
    "c": 0.06566,
    "h": 253
  },
  "luminance": 0.04451
}

Semantic roles & 50–950 ramp

primary
#213D5D
secondary
#916F49
accent
#9851D7
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#05070C
muted
#7A7A7D

Preview Lab

Preview with #213D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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