#211888#211888

#211888 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.173 H 274.1°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#211888
RGBrgb(33, 24, 136)
HSLhsl(245, 70%, 31%)
HSVhsv(245, 82%, 53%)
CMYKcmyk(75.7%, 82.4%, 0%, 46.7%)
CIE-LABlab(19.03, 41.19, -59.63)
CIE-LCHlch(19.03, 72.47, 304.63°)
OKLaboklab(32.01% 0.0123 -0.1725)
OKLCHoklch(32.01% 0.173 274.1)
XYZxyz(5.3963, 2.7536, 23.5349)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211888 #7F8818
analogous
#184788 #211888 #591888
triadic
#211888 #882118 #188821
tetradic
#211888 #881847 #7F8818 #188859
square
#211888 #881847 #7F8818 #188859
split-complementary
#211888 #885918 #478818
monochromatic
#080620 #140F54 #211888 #2E21BC #4A3EDD

Accessibility & contrast

On white

13.54
#211888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#211888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211888
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211888#FFFFFF#000000##FFFFFF
##2118881.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338B
Deuteranopia (green-blind)
#002986
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #211888;
/* rgb */ color: rgb(33, 24, 136);
/* oklch */ color: oklch(32.0% 0.173 274.1);
Tailwind
colors: {
  custom: {
    50: '#6f58ac',
    500: '#211888',
    950: '#000000',
  },
}
SCSS
$custom: #211888;
$custom-light: #6f58ac;
$custom-dark: #000000;
JSON
{
  "hex": "#211888",
  "rgb": {
    "r": 33,
    "g": 24,
    "b": 136
  },
  "hsl": {
    "h": 244.821,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32012,
    "c": 0.17292,
    "h": 274.1
  },
  "luminance": 0.02754
}

Semantic roles & 50–950 ramp

primary
#211888
secondary
#B2BC40
accent
#ED3BDF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #211888

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

Preview Lab → · Contrast checker → · Palette generator →

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