#211770#211770

#211770 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.144 H 277.7°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#211770
RGBrgb(33, 23, 112)
HSLhsl(247, 66%, 26%)
HSVhsv(247, 79%, 44%)
CMYKcmyk(70.5%, 79.5%, 0%, 56.1%)
CIE-LABlab(16.03, 33.76, -49.27)
CIE-LCHlch(16.03, 59.72, 304.42°)
OKLaboklab(29.09% 0.0191 -0.1423)
OKLCHoklch(29.09% 0.144 277.7)
XYZxyz(3.8573, 2.1056, 15.5292)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211770 #667017
analogous
#173A70 #211770 #4E1770
triadic
#211770 #702117 #177021
tetradic
#211770 #70173A #667017 #17704E
square
#211770 #70173A #667017 #17704E
split-complementary
#211770 #704E17 #3A7017
monochromatic
#070519 #120D3D #211770 #3021A3 #402DD4

Accessibility & contrast

On white

14.78
#211770 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#211770 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211770
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211770#FFFFFF#000000##FFFFFF
##2117701.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B73
Deuteranopia (green-blind)
#00246E
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #211770;
/* rgb */ color: rgb(33, 23, 112);
/* oklch */ color: oklch(29.1% 0.144 277.7);
Tailwind
colors: {
  custom: {
    50: '#69569a',
    500: '#211770',
    950: '#000000',
  },
}
SCSS
$custom: #211770;
$custom-light: #69569a;
$custom-dark: #000000;
JSON
{
  "hex": "#211770",
  "rgb": {
    "r": 33,
    "g": 23,
    "b": 112
  },
  "hsl": {
    "h": 246.742,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29091,
    "c": 0.14361,
    "h": 277.7
  },
  "luminance": 0.02106
}

Semantic roles & 50–950 ramp

primary
#211770
secondary
#9AA63D
accent
#E93FD6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #211770

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

Preview Lab → · Contrast checker → · Palette generator →

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