#211A6B#211A6B

#211A6B is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.134 H 277.9°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#211A6B
RGBrgb(33, 26, 107)
HSLhsl(245, 61%, 26%)
HSVhsv(245, 76%, 42%)
CMYKcmyk(69.2%, 75.7%, 0%, 58%)
CIE-LABlab(16.12, 30.23, -45.86)
CIE-LCHlch(16.12, 54.93, 303.39°)
OKLaboklab(28.99% 0.0183 -0.1324)
OKLCHoklch(28.99% 0.134 277.9)
XYZxyz(3.6496, 2.1234, 14.1246)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211A6B #646B1A
analogous
#1A3B6B #211A6B #491A6B
triadic
#211A6B #6B211A #1A6B21
tetradic
#211A6B #6B1A3B #646B1A #1A6B49
square
#211A6B #6B1A3B #646B1A #1A6B49
split-complementary
#211A6B #6B491A #3B6B1A
monochromatic
#080619 #120E3A #211A6B #30269C #4032CD

Accessibility & contrast

On white

14.74
#211A6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#211A6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211A6B
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211A6B#FFFFFF#000000##FFFFFF
##211A6B1.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6D
Deuteranopia (green-blind)
#00256A
Tritanopia (blue-blind)
#003040
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #211a6b;
/* rgb */ color: rgb(33, 26, 107);
/* oklch */ color: oklch(29.0% 0.134 277.9);
Tailwind
colors: {
  custom: {
    50: '#685896',
    500: '#211a6b',
    950: '#000000',
  },
}
SCSS
$custom: #211a6b;
$custom-light: #685896;
$custom-dark: #000000;
JSON
{
  "hex": "#211a6b",
  "rgb": {
    "r": 33,
    "g": 26,
    "b": 107
  },
  "hsl": {
    "h": 245.185,
    "s": 60.902,
    "l": 26.078
  },
  "oklch": {
    "l": 0.2899,
    "c": 0.13368,
    "h": 277.9
  },
  "luminance": 0.02124
}

Semantic roles & 50–950 ramp

primary
#211A6B
secondary
#98A040
accent
#E444D6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #211A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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