#211790#211790

#211790 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.9% C 0.183 H 273.3°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#211790
RGBrgb(33, 23, 144)
HSLhsl(245, 72%, 33%)
HSVhsv(245, 84%, 56%)
CMYKcmyk(77.1%, 84%, 0%, 43.5%)
CIE-LABlab(19.84, 44.23, -63.29)
CIE-LCHlch(19.84, 77.21, 304.95°)
OKLaboklab(32.86% 0.0105 -0.1831)
OKLCHoklch(32.86% 0.183 273.3)
XYZxyz(5.9660, 2.9491, 26.6350)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211790 #869017
analogous
#174990 #211790 #5E1790
triadic
#211790 #902117 #179021
tetradic
#211790 #901749 #869017 #17905E
square
#211790 #901749 #869017 #17905E
split-complementary
#211790 #905E17 #499017
monochromatic
#090626 #150F5B #211790 #2D1FC5 #4E41E1

Accessibility & contrast

On white

13.21
#211790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#211790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211790
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211790#FFFFFF#000000##FFFFFF
##2117901.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003593
Deuteranopia (green-blind)
#002A8E
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #211790;
/* rgb */ color: rgb(33, 23, 144);
/* oklch */ color: oklch(32.9% 0.183 273.3);
Tailwind
colors: {
  custom: {
    50: '#7158b2',
    500: '#211790',
    950: '#000000',
  },
}
SCSS
$custom: #211790;
$custom-light: #7158b2;
$custom-dark: #000000;
JSON
{
  "hex": "#211790",
  "rgb": {
    "r": 33,
    "g": 23,
    "b": 144
  },
  "hsl": {
    "h": 244.959,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.32856,
    "c": 0.18337,
    "h": 273.3
  },
  "luminance": 0.0295
}

Semantic roles & 50–950 ramp

primary
#211790
secondary
#B7C142
accent
#EF39E0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #211790

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

Preview Lab → · Contrast checker → · Palette generator →

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