#213689#213689

#213689 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.1% C 0.141 H 267.9°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#213689
RGBrgb(33, 54, 137)
HSLhsl(228, 61%, 33%)
HSVhsv(228, 76%, 54%)
CMYKcmyk(75.9%, 60.6%, 0%, 46.3%)
CIE-LABlab(26.06, 22.76, -48.70)
CIE-LCHlch(26.06, 53.75, 295.05°)
OKLaboklab(37.12% -0.0051 -0.1406)
OKLCHoklch(37.12% 0.141 267.9)
XYZxyz(6.4602, 4.7671, 24.2417)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213689 #897421
analogous
#216A89 #213689 #402189
triadic
#213689 #892136 #368921
tetradic
#213689 #89216A #897421 #218940
square
#213689 #89216A #897421 #218940
split-complementary
#213689 #894021 #6A8921
monochromatic
#090F26 #152358 #213689 #2D49BA #506BD5

Accessibility & contrast

On white

10.75
#213689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213689
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213689#FFFFFF#000000##FFFFFF
##2136891.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #213689;
/* rgb */ color: rgb(33, 54, 137);
/* oklch */ color: oklch(37.1% 0.141 267.9);
Tailwind
colors: {
  custom: {
    50: '#6c6cac',
    500: '#213689',
    950: '#000000',
  },
}
SCSS
$custom: #213689;
$custom-light: #6c6cac;
$custom-dark: #000000;
JSON
{
  "hex": "#213689",
  "rgb": {
    "r": 33,
    "g": 54,
    "b": 137
  },
  "hsl": {
    "h": 227.885,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37124,
    "c": 0.14066,
    "h": 267.9
  },
  "luminance": 0.04768
}

Semantic roles & 50–950 ramp

primary
#213689
secondary
#B8A34E
accent
#C444E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #213689

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

Preview Lab → · Contrast checker → · Palette generator →

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