#213E97#213E97

#213E97 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.150 H 266.0°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#213E97
RGBrgb(33, 62, 151)
HSLhsl(225, 64%, 36%)
HSVhsv(225, 78%, 59%)
CMYKcmyk(78.1%, 58.9%, 0%, 40.8%)
CIE-LABlab(29.42, 22.75, -51.85)
CIE-LCHlch(29.42, 56.62, 293.69°)
OKLaboklab(40% -0.0105 -0.1497)
OKLCHoklch(40% 0.15 266)
XYZxyz(7.9338, 6.0021, 30.0125)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213E97 #977A21
analogous
#217997 #213E97 #3F2197
triadic
#213E97 #97213E #3E9721
tetradic
#213E97 #972179 #977A21 #21973F
square
#213E97 #972179 #977A21 #21973F
split-complementary
#213E97 #973F21 #799721
monochromatic
#0B1533 #162965 #213E97 #2C53C9 #5878DA

Accessibility & contrast

On white

9.54
#213E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#213E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213E97
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213E97#FFFFFF#000000##FFFFFF
##213E971.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #213e97;
/* rgb */ color: rgb(33, 62, 151);
/* oklch */ color: oklch(40.0% 0.150 266.0);
Tailwind
colors: {
  custom: {
    50: '#6f72b6',
    500: '#213e97',
    950: '#000000',
  },
}
SCSS
$custom: #213e97;
$custom-light: #6f72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#213e97",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 151
  },
  "hsl": {
    "h": 225.254,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39998,
    "c": 0.15008,
    "h": 266
  },
  "luminance": 0.06003
}

Semantic roles & 50–950 ramp

primary
#213E97
secondary
#BEA555
accent
#BE41E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #213E97

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

Preview Lab → · Contrast checker → · Palette generator →

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