#212575#212575

#212575 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.134 H 273.7°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#212575
RGBrgb(33, 37, 117)
HSLhsl(237, 56%, 29%)
HSVhsv(237, 72%, 46%)
CMYKcmyk(71.8%, 68.4%, 0%, 54.1%)
CIE-LABlab(19.76, 26.71, -46.36)
CIE-LCHlch(19.76, 53.50, 299.95°)
OKLaboklab(31.92% 0.0086 -0.1339)
OKLCHoklch(31.92% 0.134 273.7)
XYZxyz(4.4986, 2.9304, 17.1547)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212575 #757121
analogous
#214F75 #212575 #472175
triadic
#212575 #752125 #257521
tetradic
#212575 #75214F #757121 #217547
square
#212575 #75214F #757121 #217547
split-complementary
#212575 #754721 #4F7521
monochromatic
#070818 #141645 #212575 #2E34A5 #464CCB

Accessibility & contrast

On white

13.24
#212575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #212575
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212575#FFFFFF#000000##FFFFFF
##2125751.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#002C73
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #212575;
/* rgb */ color: rgb(33, 37, 117);
/* oklch */ color: oklch(31.9% 0.134 273.7);
Tailwind
colors: {
  custom: {
    50: '#695f9e',
    500: '#212575',
    950: '#000000',
  },
}
SCSS
$custom: #212575;
$custom-light: #695f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#212575",
  "rgb": {
    "r": 33,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 237.143,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31922,
    "c": 0.13415,
    "h": 273.7
  },
  "luminance": 0.02931
}

Semantic roles & 50–950 ramp

primary
#212575
secondary
#A8A44A
accent
#D849DF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #212575

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

Preview Lab → · Contrast checker → · Palette generator →

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