#213F71#213F71

#213F71 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.2% C 0.093 H 260.0°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#213F71
RGBrgb(33, 63, 113)
HSLhsl(218, 55%, 29%)
HSVhsv(218, 71%, 44%)
CMYKcmyk(70.8%, 44.2%, 0%, 55.7%)
CIE-LABlab(26.93, 6.97, -32.20)
CIE-LCHlch(26.93, 32.95, 282.21°)
OKLaboklab(37.22% -0.0161 -0.0919)
OKLCHoklch(37.22% 0.093 260)
XYZxyz(5.3843, 5.0701, 16.3144)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213F71 #715321
analogous
#216771 #213F71 #2B2171
triadic
#213F71 #71213F #3F7121
tetradic
#213F71 #712167 #715321 #21712B
square
#213F71 #712167 #715321 #21712B
split-complementary
#213F71 #712B21 #677121
monochromatic
#070D18 #132542 #213F71 #2F59A0 #4476C8

Accessibility & contrast

On white

10.43
#213F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#213F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213F71
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213F71#FFFFFF#000000##FFFFFF
##213F711.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284473
Deuteranopia (green-blind)
#1B3C70
Tritanopia (blue-blind)
#004B52
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #213f71;
/* rgb */ color: rgb(33, 63, 113);
/* oklch */ color: oklch(37.2% 0.093 260.0);
Tailwind
colors: {
  custom: {
    50: '#66739a',
    500: '#213f71',
    950: '#000000',
  },
}
SCSS
$custom: #213f71;
$custom-light: #66739a;
$custom-dark: #000000;
JSON
{
  "hex": "#213f71",
  "rgb": {
    "r": 33,
    "g": 63,
    "b": 113
  },
  "hsl": {
    "h": 217.5,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37224,
    "c": 0.09332,
    "h": 260
  },
  "luminance": 0.05071
}

Semantic roles & 50–950 ramp

primary
#213F71
secondary
#A58249
accent
#A64ADE
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #213F71

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

Preview Lab → · Contrast checker → · Palette generator →

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