#212576#212576

#212576 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.0% C 0.136 H 273.6°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#212576
RGBrgb(33, 37, 118)
HSLhsl(237, 56%, 30%)
HSVhsv(237, 72%, 46%)
CMYKcmyk(72%, 68.6%, 0%, 53.7%)
CIE-LABlab(19.86, 27.09, -46.84)
CIE-LCHlch(19.86, 54.11, 300.04°)
OKLaboklab(32.02% 0.0085 -0.1353)
OKLCHoklch(32.02% 0.136 273.6)
XYZxyz(4.5577, 2.9540, 17.4660)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212576 #767221
analogous
#215076 #212576 #472176
triadic
#212576 #762125 #257621
tetradic
#212576 #762150 #767221 #217647
square
#212576 #762150 #767221 #217647
split-complementary
#212576 #764721 #507621
monochromatic
#070718 #141646 #212576 #2E34A6 #464CCB

Accessibility & contrast

On white

13.20
#212576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#212576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212576
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212576#FFFFFF#000000##FFFFFF
##2125761.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#002C74
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #212576;
/* rgb */ color: rgb(33, 37, 118);
/* oklch */ color: oklch(32.0% 0.136 273.6);
Tailwind
colors: {
  custom: {
    50: '#695f9e',
    500: '#212576',
    950: '#000000',
  },
}
SCSS
$custom: #212576;
$custom-light: #695f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#212576",
  "rgb": {
    "r": 33,
    "g": 37,
    "b": 118
  },
  "hsl": {
    "h": 237.176,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32021,
    "c": 0.13556,
    "h": 273.6
  },
  "luminance": 0.02954
}

Semantic roles & 50–950 ramp

primary
#212576
secondary
#A9A54A
accent
#D848E0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #212576

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

Preview Lab → · Contrast checker → · Palette generator →

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