#213E7F#213E7F

#213E7F is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.0% C 0.116 H 263.7°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#213E7F
RGBrgb(33, 62, 127)
HSLhsl(221, 59%, 31%)
HSVhsv(221, 74%, 50%)
CMYKcmyk(74%, 51.2%, 0%, 50.2%)
CIE-LABlab(27.57, 13.23, -40.01)
CIE-LCHlch(27.57, 42.14, 288.30°)
OKLaboklab(38.02% -0.0126 -0.1149)
OKLCHoklch(38.02% 0.116 263.7)
XYZxyz(6.1792, 5.3002, 20.7719)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213E7F #7F6221
analogous
#216D7F #213E7F #33217F
triadic
#213E7F #7F213E #3E7F21
tetradic
#213E7F #7F216D #7F6221 #217F33
square
#213E7F #7F216D #7F6221 #217F33
split-complementary
#213E7F #7F3321 #6D7F21
monochromatic
#080F1E #14264E #213E7F #2E56B0 #4A74D0

Accessibility & contrast

On white

10.19
#213E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#213E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213E7F
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213E7F#FFFFFF#000000##FFFFFF
##213E7F1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194681
Deuteranopia (green-blind)
#003D7E
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #213e7f;
/* rgb */ color: rgb(33, 62, 127);
/* oklch */ color: oklch(38.0% 0.116 263.7);
Tailwind
colors: {
  custom: {
    50: '#6a72a5',
    500: '#213e7f',
    950: '#000000',
  },
}
SCSS
$custom: #213e7f;
$custom-light: #6a72a5;
$custom-dark: #000000;
JSON
{
  "hex": "#213e7f",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 127
  },
  "hsl": {
    "h": 221.489,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3802,
    "c": 0.11556,
    "h": 263.7
  },
  "luminance": 0.05301
}

Semantic roles & 50–950 ramp

primary
#213E7F
secondary
#B2924A
accent
#B246E2
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #213E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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