#211972#211972

#211972 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.144 H 276.9°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#211972
RGBrgb(33, 25, 114)
HSLhsl(245, 64%, 27%)
HSVhsv(245, 78%, 45%)
CMYKcmyk(71.1%, 78.1%, 0%, 55.3%)
CIE-LABlab(16.67, 33.28, -49.52)
CIE-LCHlch(16.67, 59.66, 303.90°)
OKLaboklab(29.6% 0.0174 -0.1431)
OKLCHoklch(29.6% 0.144 276.9)
XYZxyz(4.0111, 2.2331, 16.1360)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211972 #6A7219
analogous
#193E72 #211972 #4D1972
triadic
#211972 #722119 #197221
tetradic
#211972 #72193E #6A7219 #19724D
square
#211972 #72193E #6A7219 #19724D
split-complementary
#211972 #724D19 #3E7219
monochromatic
#070619 #120E40 #211972 #3024A4 #4133D2

Accessibility & contrast

On white

14.52
#211972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#211972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211972
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211972#FFFFFF#000000##FFFFFF
##2119721.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D75
Deuteranopia (green-blind)
#002570
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #211972;
/* rgb */ color: rgb(33, 25, 114);
/* oklch */ color: oklch(29.6% 0.144 276.9);
Tailwind
colors: {
  custom: {
    50: '#69579c',
    500: '#211972',
    950: '#000000',
  },
}
SCSS
$custom: #211972;
$custom-light: #69579c;
$custom-dark: #000000;
JSON
{
  "hex": "#211972",
  "rgb": {
    "r": 33,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 245.393,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29604,
    "c": 0.14414,
    "h": 276.9
  },
  "luminance": 0.02233
}

Semantic roles & 50–950 ramp

primary
#211972
secondary
#9EA740
accent
#E741D8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #211972

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

Preview Lab → · Contrast checker → · Palette generator →

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