#213E82#213E82

#213E82 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.3% C 0.120 H 264.1°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#213E82
RGBrgb(33, 62, 130)
HSLhsl(222, 60%, 32%)
HSVhsv(222, 75%, 51%)
CMYKcmyk(74.6%, 52.3%, 0%, 49%)
CIE-LABlab(27.79, 14.43, -41.53)
CIE-LCHlch(27.79, 43.97, 289.16°)
OKLaboklab(38.25% -0.0122 -0.1194)
OKLCHoklch(38.25% 0.12 264.1)
XYZxyz(6.3777, 5.3796, 21.8170)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213E82 #826521
analogous
#216F82 #213E82 #352182
triadic
#213E82 #82213E #3E8221
tetradic
#213E82 #82216F #826521 #218235
square
#213E82 #82216F #826521 #218235
split-complementary
#213E82 #823521 #6F8221
monochromatic
#080F20 #152751 #213E82 #2D55B3 #4C74D2

Accessibility & contrast

On white

10.12
#213E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#213E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213E82
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213E82#FFFFFF#000000##FFFFFF
##213E821.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154684
Deuteranopia (green-blind)
#003D81
Tritanopia (blue-blind)
#004E5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #213e82;
/* rgb */ color: rgb(33, 62, 130);
/* oklch */ color: oklch(38.3% 0.120 264.1);
Tailwind
colors: {
  custom: {
    50: '#6a72a7',
    500: '#213e82',
    950: '#000000',
  },
}
SCSS
$custom: #213e82;
$custom-light: #6a72a7;
$custom-dark: #000000;
JSON
{
  "hex": "#213e82",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 130
  },
  "hsl": {
    "h": 222.062,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38254,
    "c": 0.11999,
    "h": 264.1
  },
  "luminance": 0.0538
}

Semantic roles & 50–950 ramp

primary
#213E82
secondary
#B4954A
accent
#B445E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #213E82

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

Preview Lab → · Contrast checker → · Palette generator →

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