#213D7D#213D7D

#213D7D is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.6% C 0.114 H 264.0°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#213D7D
RGBrgb(33, 61, 125)
HSLhsl(222, 58%, 31%)
HSVhsv(222, 74%, 49%)
CMYKcmyk(73.6%, 51.2%, 0%, 51%)
CIE-LABlab(27.13, 13.13, -39.46)
CIE-LCHlch(27.13, 41.59, 288.40°)
OKLaboklab(37.64% -0.012 -0.1133)
OKLCHoklch(37.64% 0.114 264)
XYZxyz(5.9963, 5.1409, 20.0743)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213D7D #7D6121
analogous
#216B7D #213D7D #33217D
triadic
#213D7D #7D213D #3D7D21
tetradic
#213D7D #7D216B #7D6121 #217D33
square
#213D7D #7D216B #7D6121 #217D33
split-complementary
#213D7D #7D3321 #6B7D21
monochromatic
#070E1C #14254D #213D7D #2E55AD #4972CF

Accessibility & contrast

On white

10.35
#213D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#213D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213D7D
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213D7D#FFFFFF#000000##FFFFFF
##213D7D1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18457F
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #213d7d;
/* rgb */ color: rgb(33, 61, 125);
/* oklch */ color: oklch(37.6% 0.114 264.0);
Tailwind
colors: {
  custom: {
    50: '#6972a3',
    500: '#213d7d',
    950: '#000000',
  },
}
SCSS
$custom: #213d7d;
$custom-light: #6972a3;
$custom-dark: #000000;
JSON
{
  "hex": "#213d7d",
  "rgb": {
    "r": 33,
    "g": 61,
    "b": 125
  },
  "hsl": {
    "h": 221.739,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37638,
    "c": 0.11392,
    "h": 264
  },
  "luminance": 0.05141
}

Semantic roles & 50–950 ramp

primary
#213D7D
secondary
#B0914A
accent
#B246E1
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #213D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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