#212475#212475

#212475 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.7% C 0.135 H 274.0°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#212475
RGBrgb(33, 36, 117)
HSLhsl(238, 56%, 29%)
HSVhsv(238, 72%, 46%)
CMYKcmyk(71.8%, 69.2%, 0%, 54.1%)
CIE-LABlab(19.51, 27.38, -46.77)
CIE-LCHlch(19.51, 54.20, 300.35°)
OKLaboklab(31.74% 0.0094 -0.1351)
OKLCHoklch(31.74% 0.135 274)
XYZxyz(4.4679, 2.8690, 17.1445)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212475 #757221
analogous
#214E75 #212475 #482175
triadic
#212475 #752124 #247521
tetradic
#212475 #75214E #757221 #217548
square
#212475 #75214E #757221 #217548
split-complementary
#212475 #754821 #4E7521
monochromatic
#070718 #141545 #212475 #2E33A5 #464ACB

Accessibility & contrast

On white

13.34
#212475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#212475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212475
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212475#FFFFFF#000000##FFFFFF
##2124751.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#002B73
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #212475;
/* rgb */ color: rgb(33, 36, 117);
/* oklch */ color: oklch(31.7% 0.135 274.0);
Tailwind
colors: {
  custom: {
    50: '#695f9e',
    500: '#212475',
    950: '#000000',
  },
}
SCSS
$custom: #212475;
$custom-light: #695f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#212475",
  "rgb": {
    "r": 33,
    "g": 36,
    "b": 117
  },
  "hsl": {
    "h": 237.857,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31739,
    "c": 0.13541,
    "h": 274
  },
  "luminance": 0.02869
}

Semantic roles & 50–950 ramp

primary
#212475
secondary
#A8A54A
accent
#DA49DF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #212475

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

Preview Lab → · Contrast checker → · Palette generator →

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