#213990#213990

#213990 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.4% C 0.147 H 267.2°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#213990
RGBrgb(33, 57, 144)
HSLhsl(227, 63%, 35%)
HSVhsv(227, 77%, 56%)
CMYKcmyk(77.1%, 60.4%, 0%, 43.5%)
CIE-LABlab(27.47, 23.43, -50.73)
CIE-LCHlch(27.47, 55.88, 294.79°)
OKLaboklab(38.36% -0.0071 -0.1465)
OKLCHoklch(38.36% 0.147 267.2)
XYZxyz(7.1226, 5.2624, 27.0205)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213990 #907821
analogous
#217190 #213990 #412190
triadic
#213990 #902139 #399021
tetradic
#213990 #902171 #907821 #219041
square
#213990 #902171 #907821 #219041
split-complementary
#213990 #904121 #719021
monochromatic
#0A122C #16255E #213990 #2C4DC2 #5470D8

Accessibility & contrast

On white

10.23
#213990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#213990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213990
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213990#FFFFFF#000000##FFFFFF
##2139901.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #213990;
/* rgb */ color: rgb(33, 57, 144);
/* oklch */ color: oklch(38.4% 0.147 267.2);
Tailwind
colors: {
  custom: {
    50: '#6e6fb1',
    500: '#213990',
    950: '#000000',
  },
}
SCSS
$custom: #213990;
$custom-light: #6e6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#213990",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 144
  },
  "hsl": {
    "h": 227.027,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3836,
    "c": 0.14667,
    "h": 267.2
  },
  "luminance": 0.05263
}

Semantic roles & 50–950 ramp

primary
#213990
secondary
#BBA451
accent
#C242E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #213990

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

Preview Lab → · Contrast checker → · Palette generator →

#213990 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva