#211A7B#211A7B

#211A7B is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.155 H 275.5°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#211A7B
RGBrgb(33, 26, 123)
HSLhsl(244, 65%, 29%)
HSVhsv(244, 79%, 48%)
CMYKcmyk(73.2%, 78.9%, 0%, 51.8%)
CIE-LABlab(17.88, 35.78, -53.30)
CIE-LCHlch(17.88, 64.20, 303.88°)
OKLaboklab(30.76% 0.0147 -0.1541)
OKLCHoklch(30.76% 0.155 275.5)
XYZxyz(4.5706, 2.4917, 18.9751)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211A7B #747B1A
analogous
#1A447B #211A7B #521A7B
triadic
#211A7B #7B211A #1A7B21
tetradic
#211A7B #7B1A44 #747B1A #1A7B52
square
#211A7B #7B1A44 #747B1A #1A7B52
split-complementary
#211A7B #7B521A #447B1A
monochromatic
#070519 #130F48 #211A7B #2F25AE #453AD5

Accessibility & contrast

On white

14.01
#211A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#211A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211A7B
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211A7B#FFFFFF#000000##FFFFFF
##211A7B1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307E
Deuteranopia (green-blind)
#002779
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #211a7b;
/* rgb */ color: rgb(33, 26, 123);
/* oklch */ color: oklch(30.8% 0.155 275.5);
Tailwind
colors: {
  custom: {
    50: '#6c58a2',
    500: '#211a7b',
    950: '#000000',
  },
}
SCSS
$custom: #211a7b;
$custom-light: #6c58a2;
$custom-dark: #000000;
JSON
{
  "hex": "#211a7b",
  "rgb": {
    "r": 33,
    "g": 26,
    "b": 123
  },
  "hsl": {
    "h": 244.33,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30762,
    "c": 0.1548,
    "h": 275.5
  },
  "luminance": 0.02492
}

Semantic roles & 50–950 ramp

primary
#211A7B
secondary
#A7AF42
accent
#E840DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #211A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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