#212389#212389

#212389 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.164 H 272.5°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#212389
RGBrgb(33, 35, 137)
HSLhsl(239, 61%, 33%)
HSVhsv(239, 76%, 54%)
CMYKcmyk(75.9%, 74.5%, 0%, 46.3%)
CIE-LABlab(21.32, 35.32, -56.47)
CIE-LCHlch(21.32, 66.60, 302.02°)
OKLaboklab(33.66% 0.0072 -0.1634)
OKLCHoklch(33.66% 0.164 272.5)
XYZxyz(5.7421, 3.3309, 24.0024)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212389 #898721
analogous
#215789 #212389 #532189
triadic
#212389 #892123 #238921
tetradic
#212389 #892157 #898721 #218953
square
#212389 #892157 #898721 #218953
split-complementary
#212389 #895321 #578921
monochromatic
#090A26 #151658 #212389 #2D30BA #5052D5

Accessibility & contrast

On white

12.60
#212389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#212389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212389
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212389#FFFFFF#000000##FFFFFF
##2123891.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#002E87
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #212389;
/* rgb */ color: rgb(33, 35, 137);
/* oklch */ color: oklch(33.7% 0.164 272.5);
Tailwind
colors: {
  custom: {
    50: '#6e5fad',
    500: '#212389',
    950: '#000000',
  },
}
SCSS
$custom: #212389;
$custom-light: #6e5fad;
$custom-dark: #000000;
JSON
{
  "hex": "#212389",
  "rgb": {
    "r": 33,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 238.846,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33663,
    "c": 0.16356,
    "h": 272.5
  },
  "luminance": 0.03332
}

Semantic roles & 50–950 ramp

primary
#212389
secondary
#B8B64E
accent
#E144E4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #212389

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

Preview Lab → · Contrast checker → · Palette generator →

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