#213B94#213B94

#213B94 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.1% C 0.150 H 266.7°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#213B94
RGBrgb(33, 59, 148)
HSLhsl(226, 64%, 35%)
HSVhsv(226, 78%, 58%)
CMYKcmyk(77.7%, 60.1%, 0%, 42%)
CIE-LABlab(28.35, 23.63, -51.76)
CIE-LCHlch(28.35, 56.90, 294.54°)
OKLaboklab(39.12% -0.0085 -0.1495)
OKLCHoklch(39.12% 0.15 266.7)
XYZxyz(7.5346, 5.5885, 28.6928)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213B94 #947A21
analogous
#217494 #213B94 #412194
triadic
#213B94 #94213B #3B9421
tetradic
#213B94 #942174 #947A21 #219441
square
#213B94 #942174 #947A21 #219441
split-complementary
#213B94 #944121 #749421
monochromatic
#0B1330 #162762 #213B94 #2C4FC6 #5674D9

Accessibility & contrast

On white

9.92
#213B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#213B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213B94
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213B94#FFFFFF#000000##FFFFFF
##213B941.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004897
Deuteranopia (green-blind)
#003E92
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #213b94;
/* rgb */ color: rgb(33, 59, 148);
/* oklch */ color: oklch(39.1% 0.150 266.7);
Tailwind
colors: {
  custom: {
    50: '#6f70b4',
    500: '#213b94',
    950: '#000000',
  },
}
SCSS
$custom: #213b94;
$custom-light: #6f70b4;
$custom-dark: #000000;
JSON
{
  "hex": "#213b94",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 148
  },
  "hsl": {
    "h": 226.435,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39121,
    "c": 0.14972,
    "h": 266.7
  },
  "luminance": 0.05589
}

Semantic roles & 50–950 ramp

primary
#213B94
secondary
#BDA554
accent
#C141E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #213B94

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

Preview Lab → · Contrast checker → · Palette generator →

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