#212594#212594

#212594 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.176 H 271.4°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#212594
RGBrgb(33, 37, 148)
HSLhsl(238, 64%, 35%)
HSVhsv(238, 78%, 58%)
CMYKcmyk(77.7%, 75%, 0%, 42%)
CIE-LABlab(22.94, 37.99, -60.63)
CIE-LCHlch(22.94, 71.55, 302.07°)
OKLaboklab(35.17% 0.0044 -0.1755)
OKLCHoklch(35.17% 0.176 271.4)
XYZxyz(6.6323, 3.7839, 28.3921)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212594 #949021
analogous
#215E94 #212594 #562194
triadic
#212594 #942125 #259421
tetradic
#212594 #94215E #949021 #219456
square
#212594 #94215E #949021 #219456
split-complementary
#212594 #945621 #5E9421
monochromatic
#0B0C30 #161862 #212594 #2C32C6 #565BD9

Accessibility & contrast

On white

11.95
#212594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#212594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212594
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212594#FFFFFF#000000##FFFFFF
##2125941.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003192
Tritanopia (blue-blind)
#00455A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #212594;
/* rgb */ color: rgb(33, 37, 148);
/* oklch */ color: oklch(35.2% 0.176 271.4);
Tailwind
colors: {
  custom: {
    50: '#7161b5',
    500: '#212594',
    950: '#000000',
  },
}
SCSS
$custom: #212594;
$custom-light: #7161b5;
$custom-dark: #000000;
JSON
{
  "hex": "#212594",
  "rgb": {
    "r": 33,
    "g": 37,
    "b": 148
  },
  "hsl": {
    "h": 237.913,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35172,
    "c": 0.17558,
    "h": 271.4
  },
  "luminance": 0.03785
}

Semantic roles & 50–950 ramp

primary
#212594
secondary
#BDB954
accent
#E141E7
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #212594

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

Preview Lab → · Contrast checker → · Palette generator →

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