#213389#213389

#213389 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.145 H 268.9°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#213389
RGBrgb(33, 51, 137)
HSLhsl(230, 61%, 33%)
HSVhsv(230, 76%, 54%)
CMYKcmyk(75.9%, 62.8%, 0%, 46.3%)
CIE-LABlab(25.25, 24.82, -50.02)
CIE-LCHlch(25.25, 55.84, 296.39°)
OKLaboklab(36.52% -0.0028 -0.1445)
OKLCHoklch(36.52% 0.145 268.9)
XYZxyz(6.3248, 4.4965, 24.1966)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213389 #897721
analogous
#216789 #213389 #432189
triadic
#213389 #892133 #338921
tetradic
#213389 #892167 #897721 #218943
square
#213389 #892167 #897721 #218943
split-complementary
#213389 #894321 #678921
monochromatic
#090E26 #152158 #213389 #2D45BA #5067D5

Accessibility & contrast

On white

11.06
#213389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#213389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213389
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213389#FFFFFF#000000##FFFFFF
##2133891.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #213389;
/* rgb */ color: rgb(33, 51, 137);
/* oklch */ color: oklch(36.5% 0.145 268.9);
Tailwind
colors: {
  custom: {
    50: '#6d6aac',
    500: '#213389',
    950: '#000000',
  },
}
SCSS
$custom: #213389;
$custom-light: #6d6aac;
$custom-dark: #000000;
JSON
{
  "hex": "#213389",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 137
  },
  "hsl": {
    "h": 229.615,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36521,
    "c": 0.14452,
    "h": 268.9
  },
  "luminance": 0.04497
}

Semantic roles & 50–950 ramp

primary
#213389
secondary
#B8A64E
accent
#C844E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #213389

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

Preview Lab → · Contrast checker → · Palette generator →

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