#213D70#213D70

#213D70 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.7% C 0.094 H 261.3°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#213D70
RGBrgb(33, 61, 112)
HSLhsl(219, 54%, 28%)
HSVhsv(219, 71%, 44%)
CMYKcmyk(70.5%, 45.5%, 0%, 56.1%)
CIE-LABlab(26.25, 7.96, -32.67)
CIE-LCHlch(26.25, 33.62, 283.69°)
OKLaboklab(36.67% -0.0142 -0.0933)
OKLCHoklch(36.67% 0.094 261.3)
XYZxyz(5.2195, 4.8302, 15.9833)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213D70 #705421
analogous
#216470 #213D70 #2C2170
triadic
#213D70 #70213D #3D7021
tetradic
#213D70 #702164 #705421 #21702C
square
#213D70 #702164 #705421 #21702C
split-complementary
#213D70 #702C21 #647021
monochromatic
#070D18 #132341 #213D70 #2F579F #4472C8

Accessibility & contrast

On white

10.68
#213D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#213D70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213D70
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213D70#FFFFFF#000000##FFFFFF
##213D701.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254272
Deuteranopia (green-blind)
#173B6F
Tritanopia (blue-blind)
#004951
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #213d70;
/* rgb */ color: rgb(33, 61, 112);
/* oklch */ color: oklch(36.7% 0.094 261.3);
Tailwind
colors: {
  custom: {
    50: '#667299',
    500: '#213d70',
    950: '#000000',
  },
}
SCSS
$custom: #213d70;
$custom-light: #667299;
$custom-dark: #000000;
JSON
{
  "hex": "#213d70",
  "rgb": {
    "r": 33,
    "g": 61,
    "b": 112
  },
  "hsl": {
    "h": 218.734,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36672,
    "c": 0.09438,
    "h": 261.3
  },
  "luminance": 0.04831
}

Semantic roles & 50–950 ramp

primary
#213D70
secondary
#A48449
accent
#A94ADE
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #213D70

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

Preview Lab → · Contrast checker → · Palette generator →

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