#213E9A#213E9A

#213E9A is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.154 H 266.1°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#213E9A
RGBrgb(33, 62, 154)
HSLhsl(226, 65%, 37%)
HSVhsv(226, 79%, 60%)
CMYKcmyk(78.6%, 59.7%, 0%, 39.6%)
CIE-LABlab(29.67, 23.93, -53.28)
CIE-LCHlch(29.67, 58.40, 294.18°)
OKLaboklab(40.26% -0.0104 -0.1539)
OKLCHoklch(40.26% 0.154 266.1)
XYZxyz(8.1805, 6.1007, 31.3120)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213E9A #9A7D21
analogous
#217B9A #213E9A #41219A
triadic
#213E9A #9A213E #3E9A21
tetradic
#213E9A #9A217B #9A7D21 #219A41
square
#213E9A #9A217B #9A7D21 #219A41
split-complementary
#213E9A #9A4121 #7B9A21
monochromatic
#0B1535 #162A68 #213E9A #2C52CC #5A79DC

Accessibility & contrast

On white

9.46
#213E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#213E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213E9A
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213E9A#FFFFFF#000000##FFFFFF
##213E9A1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#004098
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #213e9a;
/* rgb */ color: rgb(33, 62, 154);
/* oklch */ color: oklch(40.3% 0.154 266.1);
Tailwind
colors: {
  custom: {
    50: '#7072b9',
    500: '#213e9a',
    950: '#000000',
  },
}
SCSS
$custom: #213e9a;
$custom-light: #7072b9;
$custom-dark: #000000;
JSON
{
  "hex": "#213e9a",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 154
  },
  "hsl": {
    "h": 225.62,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4026,
    "c": 0.15425,
    "h": 266.1
  },
  "luminance": 0.06102
}

Semantic roles & 50–950 ramp

primary
#213E9A
secondary
#C0A757
accent
#C040E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #213E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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