#211970#211970

#211970 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.4% C 0.141 H 277.3°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#211970
RGBrgb(33, 25, 112)
HSLhsl(246, 64%, 27%)
HSVhsv(246, 78%, 44%)
CMYKcmyk(70.5%, 77.7%, 0%, 56.1%)
CIE-LABlab(16.44, 32.59, -48.59)
CIE-LCHlch(16.44, 58.50, 303.85°)
OKLaboklab(29.38% 0.0179 -0.1404)
OKLCHoklch(29.38% 0.142 277.3)
XYZxyz(3.8985, 2.1881, 15.5430)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211970 #687019
analogous
#193D70 #211970 #4D1970
triadic
#211970 #702119 #197021
tetradic
#211970 #70193D #687019 #19704D
square
#211970 #70193D #687019 #19704D
split-complementary
#211970 #704D19 #3D7019
monochromatic
#070619 #120E3E #211970 #3024A2 #4132D1

Accessibility & contrast

On white

14.61
#211970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#211970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211970
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211970#FFFFFF#000000##FFFFFF
##2119701.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C73
Deuteranopia (green-blind)
#00256E
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #211970;
/* rgb */ color: rgb(33, 25, 112);
/* oklch */ color: oklch(29.4% 0.141 277.3);
Tailwind
colors: {
  custom: {
    50: '#69579a',
    500: '#211970',
    950: '#000000',
  },
}
SCSS
$custom: #211970;
$custom-light: #69579a;
$custom-dark: #000000;
JSON
{
  "hex": "#211970",
  "rgb": {
    "r": 33,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 245.517,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29382,
    "c": 0.1415,
    "h": 277.3
  },
  "luminance": 0.02188
}

Semantic roles & 50–950 ramp

primary
#211970
secondary
#9CA540
accent
#E741D7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #211970

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

Preview Lab → · Contrast checker → · Palette generator →

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