#212592#212592

#212592 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.173 H 271.6°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#212592
RGBrgb(33, 37, 146)
HSLhsl(238, 63%, 35%)
HSVhsv(238, 77%, 57%)
CMYKcmyk(77.4%, 74.7%, 0%, 42.7%)
CIE-LABlab(22.73, 37.28, -59.75)
CIE-LCHlch(22.73, 70.43, 301.96°)
OKLaboklab(34.95% 0.0047 -0.173)
OKLCHoklch(34.95% 0.173 271.6)
XYZxyz(6.4753, 3.7211, 27.5655)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212592 #928E21
analogous
#215E92 #212592 #552192
triadic
#212592 #922125 #259221
tetradic
#212592 #92215E #928E21 #219255
square
#212592 #92215E #928E21 #219255
split-complementary
#212592 #925521 #5E9221
monochromatic
#0A0C2E #161860 #212592 #2C32C4 #555AD9

Accessibility & contrast

On white

12.04
#212592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#212592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212592
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212592#FFFFFF#000000##FFFFFF
##2125921.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003190
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #212592;
/* rgb */ color: rgb(33, 37, 146);
/* oklch */ color: oklch(35.0% 0.173 271.6);
Tailwind
colors: {
  custom: {
    50: '#7061b3',
    500: '#212592',
    950: '#000000',
  },
}
SCSS
$custom: #212592;
$custom-light: #7061b3;
$custom-dark: #000000;
JSON
{
  "hex": "#212592",
  "rgb": {
    "r": 33,
    "g": 37,
    "b": 146
  },
  "hsl": {
    "h": 237.876,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34953,
    "c": 0.17303,
    "h": 271.6
  },
  "luminance": 0.03722
}

Semantic roles & 50–950 ramp

primary
#212592
secondary
#BCB953
accent
#E042E6
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #212592

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

Preview Lab → · Contrast checker → · Palette generator →

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