#211A8A#211A8A

#211A8A is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.174 H 273.7°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#211A8A
RGBrgb(33, 26, 138)
HSLhsl(244, 68%, 32%)
HSVhsv(244, 81%, 54%)
CMYKcmyk(76.1%, 81.2%, 0%, 45.9%)
CIE-LABlab(19.62, 40.80, -59.90)
CIE-LCHlch(19.62, 72.48, 304.26°)
OKLaboklab(32.5% 0.0111 -0.1733)
OKLCHoklch(32.5% 0.174 273.7)
XYZxyz(5.5825, 2.8965, 24.3047)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211A8A #838A1A
analogous
#1A4B8A #211A8A #591A8A
triadic
#211A8A #8A211A #1A8A21
tetradic
#211A8A #8A1A4B #838A1A #1A8A59
square
#211A8A #8A1A4B #838A1A #1A8A59
split-complementary
#211A8A #8A591A #4B8A1A
monochromatic
#080723 #151057 #211A8A #2D24BD #4C43DC

Accessibility & contrast

On white

13.30
#211A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#211A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211A8A
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211A8A#FFFFFF#000000##FFFFFF
##211A8A1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358D
Deuteranopia (green-blind)
#002A88
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #211a8a;
/* rgb */ color: rgb(33, 26, 138);
/* oklch */ color: oklch(32.5% 0.174 273.7);
Tailwind
colors: {
  custom: {
    50: '#6f59ad',
    500: '#211a8a',
    950: '#000000',
  },
}
SCSS
$custom: #211a8a;
$custom-light: #6f59ad;
$custom-dark: #000000;
JSON
{
  "hex": "#211a8a",
  "rgb": {
    "r": 33,
    "g": 26,
    "b": 138
  },
  "hsl": {
    "h": 243.75,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32497,
    "c": 0.17364,
    "h": 273.7
  },
  "luminance": 0.02897
}

Semantic roles & 50–950 ramp

primary
#211A8A
secondary
#B5BD43
accent
#EB3DE0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #211A8A

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

Preview Lab → · Contrast checker → · Palette generator →

#211A8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva