#212089#212089

#212089 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.167 H 273.0°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#212089
RGBrgb(33, 32, 137)
HSLhsl(241, 62%, 33%)
HSVhsv(241, 77%, 54%)
CMYKcmyk(75.9%, 76.6%, 0%, 46.3%)
CIE-LABlab(20.68, 37.12, -57.53)
CIE-LCHlch(20.68, 68.46, 302.83°)
OKLaboklab(33.21% 0.0087 -0.1665)
OKLCHoklch(33.21% 0.167 273)
XYZxyz(5.6576, 3.1619, 23.9742)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212089 #888920
analogous
#205489 #212089 #552089
triadic
#212089 #892120 #208921
tetradic
#212089 #892054 #888920 #208955
square
#212089 #892054 #888920 #208955
split-complementary
#212089 #895520 #548920
monochromatic
#090926 #151457 #212089 #2D2CBB #4F4ED6

Accessibility & contrast

On white

12.86
#212089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#212089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212089
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212089#FFFFFF#000000##FFFFFF
##2120891.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378C
Deuteranopia (green-blind)
#002D87
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #212089;
/* rgb */ color: rgb(33, 32, 137);
/* oklch */ color: oklch(33.2% 0.167 273.0);
Tailwind
colors: {
  custom: {
    50: '#6f5dad',
    500: '#212089',
    950: '#000000',
  },
}
SCSS
$custom: #212089;
$custom-light: #6f5dad;
$custom-dark: #000000;
JSON
{
  "hex": "#212089",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 240.571,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33206,
    "c": 0.16669,
    "h": 273
  },
  "luminance": 0.03162
}

Semantic roles & 50–950 ramp

primary
#212089
secondary
#B8B94C
accent
#E543E4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #212089

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

Preview Lab → · Contrast checker → · Palette generator →

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