#213688#213688

#213688 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.0% C 0.139 H 267.9°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#213688
RGBrgb(33, 54, 136)
HSLhsl(228, 61%, 33%)
HSVhsv(228, 76%, 53%)
CMYKcmyk(75.7%, 60.3%, 0%, 46.7%)
CIE-LABlab(25.98, 22.36, -48.21)
CIE-LCHlch(25.98, 53.15, 294.88°)
OKLaboklab(37.04% -0.0051 -0.1391)
OKLCHoklch(37.04% 0.139 267.9)
XYZxyz(6.3888, 4.7386, 23.8657)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213688 #887321
analogous
#216988 #213688 #3F2188
triadic
#213688 #882136 #368821
tetradic
#213688 #882169 #887321 #21883F
square
#213688 #882169 #887321 #21883F
split-complementary
#213688 #883F21 #698821
monochromatic
#090F25 #152257 #213688 #2D4AB9 #4F6AD4

Accessibility & contrast

On white

10.78
#213688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#213688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213688
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213688#FFFFFF#000000##FFFFFF
##2136881.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#003986
Tritanopia (blue-blind)
#004B59
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #213688;
/* rgb */ color: rgb(33, 54, 136);
/* oklch */ color: oklch(37.0% 0.139 267.9);
Tailwind
colors: {
  custom: {
    50: '#6c6cab',
    500: '#213688',
    950: '#000000',
  },
}
SCSS
$custom: #213688;
$custom-light: #6c6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#213688",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 136
  },
  "hsl": {
    "h": 227.767,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37035,
    "c": 0.13923,
    "h": 267.9
  },
  "luminance": 0.04739
}

Semantic roles & 50–950 ramp

primary
#213688
secondary
#B8A24D
accent
#C344E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #213688

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

Preview Lab → · Contrast checker → · Palette generator →

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