#213A90#213A90

#213A90 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.6% C 0.145 H 266.9°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#213A90
RGBrgb(33, 58, 144)
HSLhsl(226, 63%, 35%)
HSVhsv(226, 77%, 56%)
CMYKcmyk(77.1%, 59.7%, 0%, 43.5%)
CIE-LABlab(27.74, 22.74, -50.29)
CIE-LCHlch(27.74, 55.19, 294.33°)
OKLaboklab(38.56% -0.0079 -0.1452)
OKLCHoklch(38.56% 0.145 266.9)
XYZxyz(7.1725, 5.3623, 27.0372)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213A90 #907721
analogous
#217290 #213A90 #3F2190
triadic
#213A90 #90213A #3A9021
tetradic
#213A90 #902172 #907721 #21903F
square
#213A90 #902172 #907721 #21903F
split-complementary
#213A90 #903F21 #729021
monochromatic
#0A122C #16265E #213A90 #2C4EC2 #5471D8

Accessibility & contrast

On white

10.13
#213A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#213A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213A90
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213A90#FFFFFF#000000##FFFFFF
##213A901.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004793
Deuteranopia (green-blind)
#003D8E
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #213a90;
/* rgb */ color: rgb(33, 58, 144);
/* oklch */ color: oklch(38.6% 0.145 266.9);
Tailwind
colors: {
  custom: {
    50: '#6e6fb1',
    500: '#213a90',
    950: '#000000',
  },
}
SCSS
$custom: #213a90;
$custom-light: #6e6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#213a90",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 144
  },
  "hsl": {
    "h": 226.486,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38564,
    "c": 0.14539,
    "h": 266.9
  },
  "luminance": 0.05363
}

Semantic roles & 50–950 ramp

primary
#213A90
secondary
#BBA351
accent
#C142E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #213A90

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

Preview Lab → · Contrast checker → · Palette generator →

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