#211A7A#211A7A

#211A7A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.154 H 275.6°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#211A7A
RGBrgb(33, 26, 122)
HSLhsl(244, 65%, 29%)
HSVhsv(244, 79%, 48%)
CMYKcmyk(73%, 78.7%, 0%, 52.2%)
CIE-LABlab(17.77, 35.44, -52.85)
CIE-LCHlch(17.77, 63.63, 303.85°)
OKLaboklab(30.65% 0.015 -0.1528)
OKLCHoklch(30.65% 0.154 275.6)
XYZxyz(4.5083, 2.4668, 18.6471)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211A7A #737A1A
analogous
#1A437A #211A7A #511A7A
triadic
#211A7A #7A211A #1A7A21
tetradic
#211A7A #7A1A43 #737A1A #1A7A51
square
#211A7A #7A1A43 #737A1A #1A7A51
split-complementary
#211A7A #7A511A #437A1A
monochromatic
#070519 #130F48 #211A7A #2F25AC #4539D5

Accessibility & contrast

On white

14.06
#211A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#211A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211A7A
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211A7A#FFFFFF#000000##FFFFFF
##211A7A1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307D
Deuteranopia (green-blind)
#002778
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #211a7a;
/* rgb */ color: rgb(33, 26, 122);
/* oklch */ color: oklch(30.6% 0.154 275.6);
Tailwind
colors: {
  custom: {
    50: '#6b58a2',
    500: '#211a7a',
    950: '#000000',
  },
}
SCSS
$custom: #211a7a;
$custom-light: #6b58a2;
$custom-dark: #000000;
JSON
{
  "hex": "#211a7a",
  "rgb": {
    "r": 33,
    "g": 26,
    "b": 122
  },
  "hsl": {
    "h": 244.375,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30649,
    "c": 0.15351,
    "h": 275.6
  },
  "luminance": 0.02467
}

Semantic roles & 50–950 ramp

primary
#211A7A
secondary
#A6AE41
accent
#E840DC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #211A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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