#213B97#213B97

#213B97 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.154 H 266.9°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#213B97
RGBrgb(33, 59, 151)
HSLhsl(227, 64%, 36%)
HSVhsv(227, 78%, 59%)
CMYKcmyk(78.1%, 60.9%, 0%, 40.8%)
CIE-LABlab(28.60, 24.80, -53.18)
CIE-LCHlch(28.60, 58.68, 295.00°)
OKLaboklab(39.39% -0.0084 -0.1537)
OKLCHoklch(39.39% 0.154 266.9)
XYZxyz(7.7751, 5.6848, 29.9596)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213B97 #977D21
analogous
#217697 #213B97 #422197
triadic
#213B97 #97213B #3B9721
tetradic
#213B97 #972176 #977D21 #219742
square
#213B97 #972176 #977D21 #219742
split-complementary
#213B97 #974221 #769721
monochromatic
#0B1433 #162765 #213B97 #2C4FC9 #5875DA

Accessibility & contrast

On white

9.83
#213B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#213B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213B97
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213B97#FFFFFF#000000##FFFFFF
##213B971.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #213b97;
/* rgb */ color: rgb(33, 59, 151);
/* oklch */ color: oklch(39.4% 0.154 266.9);
Tailwind
colors: {
  custom: {
    50: '#7070b6',
    500: '#213b97',
    950: '#000000',
  },
}
SCSS
$custom: #213b97;
$custom-light: #7070b6;
$custom-dark: #000000;
JSON
{
  "hex": "#213b97",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 151
  },
  "hsl": {
    "h": 226.78,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39389,
    "c": 0.15389,
    "h": 266.9
  },
  "luminance": 0.05686
}

Semantic roles & 50–950 ramp

primary
#213B97
secondary
#BEA755
accent
#C241E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #213B97

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

Preview Lab → · Contrast checker → · Palette generator →

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