#213388#213388

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

Color values

HEX#213388
RGBrgb(33, 51, 136)
HSLhsl(230, 61%, 33%)
HSVhsv(230, 76%, 53%)
CMYKcmyk(75.7%, 62.5%, 0%, 46.7%)
CIE-LABlab(25.16, 24.43, -49.54)
CIE-LCHlch(25.16, 55.24, 296.25°)
OKLaboklab(36.43% -0.0028 -0.1431)
OKLCHoklch(36.43% 0.143 268.9)
XYZxyz(6.2534, 4.4679, 23.8206)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213388 #887621
analogous
#216688 #213388 #432188
triadic
#213388 #882133 #338821
tetradic
#213388 #882166 #887621 #218843
square
#213388 #882166 #887621 #218843
split-complementary
#213388 #884321 #668821
monochromatic
#090E25 #152157 #213388 #2D45B9 #4F66D4

Accessibility & contrast

On white

11.09
#213388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#213388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213388
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213388#FFFFFF#000000##FFFFFF
##2133881.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418B
Deuteranopia (green-blind)
#003786
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #213388;
/* rgb */ color: rgb(33, 51, 136);
/* oklch */ color: oklch(36.4% 0.143 268.9);
Tailwind
colors: {
  custom: {
    50: '#6c6aab',
    500: '#213388',
    950: '#000000',
  },
}
SCSS
$custom: #213388;
$custom-light: #6c6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#213388",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 136
  },
  "hsl": {
    "h": 229.515,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36429,
    "c": 0.14311,
    "h": 268.9
  },
  "luminance": 0.04469
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #213388

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

Preview Lab → · Contrast checker → · Palette generator →

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