#211A5A#211A5A

#211A5A is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.2% C 0.110 H 281.2°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#211A5A
RGBrgb(33, 26, 90)
HSLhsl(247, 55%, 23%)
HSVhsv(247, 71%, 35%)
CMYKcmyk(63.3%, 71.1%, 0%, 64.7%)
CIE-LABlab(14.40, 24.14, -37.42)
CIE-LCHlch(14.40, 44.53, 302.83°)
OKLaboklab(27.23% 0.0213 -0.1077)
OKLCHoklch(27.23% 0.11 281.2)
XYZxyz(2.8415, 1.8001, 9.8686)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211A5A #535A1A
analogous
#1A335A #211A5A #411A5A
triadic
#211A5A #5A211A #1A5A21
tetradic
#211A5A #5A1A33 #535A1A #1A5A41
square
#211A5A #5A1A33 #535A1A #1A5A41
split-complementary
#211A5A #5A411A #335A1A
monochromatic
#090718 #100C2B #211A5A #322889 #4435B9

Accessibility & contrast

On white

15.44
#211A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#211A5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211A5A
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211A5A#FFFFFF#000000##FFFFFF
##211A5A1.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275C
Deuteranopia (green-blind)
#002259
Tritanopia (blue-blind)
#002A37
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #211a5a;
/* rgb */ color: rgb(33, 26, 90);
/* oklch */ color: oklch(27.2% 0.110 281.2);
Tailwind
colors: {
  custom: {
    50: '#645789',
    500: '#211a5a',
    950: '#000000',
  },
}
SCSS
$custom: #211a5a;
$custom-light: #645789;
$custom-dark: #000000;
JSON
{
  "hex": "#211a5a",
  "rgb": {
    "r": 33,
    "g": 26,
    "b": 90
  },
  "hsl": {
    "h": 246.563,
    "s": 55.172,
    "l": 22.745
  },
  "oklch": {
    "l": 0.27229,
    "c": 0.10979,
    "h": 281.2
  },
  "luminance": 0.018
}

Semantic roles & 50–950 ramp

primary
#211A5A
secondary
#879040
accent
#DF49CE
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #211A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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