#211A8C#211A8C

#211A8C is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.176 H 273.4°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#211A8C
RGBrgb(33, 26, 140)
HSLhsl(244, 69%, 33%)
HSVhsv(244, 81%, 55%)
CMYKcmyk(76.4%, 81.4%, 0%, 45.1%)
CIE-LABlab(19.86, 41.46, -60.76)
CIE-LCHlch(19.86, 73.55, 304.31°)
OKLaboklab(32.73% 0.0106 -0.1758)
OKLCHoklch(32.73% 0.176 273.4)
XYZxyz(5.7286, 2.9550, 25.0743)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211A8C #858C1A
analogous
#1A4C8C #211A8C #5A1A8C
triadic
#211A8C #8C211A #1A8C21
tetradic
#211A8C #8C1A4C #858C1A #1A8C5A
square
#211A8C #8C1A4C #858C1A #1A8C5A
split-complementary
#211A8C #8C5A1A #4C8C1A
monochromatic
#090725 #151058 #211A8C #2D24C0 #4D44DC

Accessibility & contrast

On white

13.20
#211A8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#211A8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211A8C
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211A8C#FFFFFF#000000##FFFFFF
##211A8C1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358F
Deuteranopia (green-blind)
#002A8A
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #211a8c;
/* rgb */ color: rgb(33, 26, 140);
/* oklch */ color: oklch(32.7% 0.176 273.4);
Tailwind
colors: {
  custom: {
    50: '#705aaf',
    500: '#211a8c',
    950: '#000000',
  },
}
SCSS
$custom: #211a8c;
$custom-light: #705aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#211a8c",
  "rgb": {
    "r": 33,
    "g": 26,
    "b": 140
  },
  "hsl": {
    "h": 243.684,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32732,
    "c": 0.17609,
    "h": 273.4
  },
  "luminance": 0.02956
}

Semantic roles & 50–950 ramp

primary
#211A8C
secondary
#B6BE44
accent
#EC3CE1
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #211A8C

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

Preview Lab → · Contrast checker → · Palette generator →

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