#212574#212574

#212574 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.133 H 273.8°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#212574
RGBrgb(33, 37, 116)
HSLhsl(237, 56%, 29%)
HSVhsv(237, 72%, 45%)
CMYKcmyk(71.6%, 68.1%, 0%, 54.5%)
CIE-LABlab(19.67, 26.34, -45.87)
CIE-LCHlch(19.67, 52.90, 299.86°)
OKLaboklab(31.82% 0.0087 -0.1325)
OKLCHoklch(31.82% 0.133 273.8)
XYZxyz(4.4401, 2.9070, 16.8467)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212574 #747021
analogous
#214F74 #212574 #472174
triadic
#212574 #742125 #257421
tetradic
#212574 #74214F #747021 #217447
square
#212574 #74214F #747021 #217447
split-complementary
#212574 #744721 #4F7421
monochromatic
#070818 #131644 #212574 #2F34A4 #454CCA

Accessibility & contrast

On white

13.28
#212574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#212574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212574
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212574#FFFFFF#000000##FFFFFF
##2125741.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #212574;
/* rgb */ color: rgb(33, 37, 116);
/* oklch */ color: oklch(31.8% 0.133 273.8);
Tailwind
colors: {
  custom: {
    50: '#695f9d',
    500: '#212574',
    950: '#000000',
  },
}
SCSS
$custom: #212574;
$custom-light: #695f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#212574",
  "rgb": {
    "r": 33,
    "g": 37,
    "b": 116
  },
  "hsl": {
    "h": 237.108,
    "s": 55.705,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31823,
    "c": 0.13273,
    "h": 273.8
  },
  "luminance": 0.02907
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #212574

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

Preview Lab → · Contrast checker → · Palette generator →

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