#211E7A#211E7A

#211E7A is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.149 H 274.9°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#211E7A
RGBrgb(33, 30, 122)
HSLhsl(242, 61%, 30%)
HSVhsv(242, 75%, 48%)
CMYKcmyk(73%, 75.4%, 0%, 52.2%)
CIE-LABlab(18.61, 33.06, -51.45)
CIE-LCHlch(18.61, 61.16, 302.72°)
OKLaboklab(31.25% 0.0127 -0.1488)
OKLCHoklch(31.25% 0.149 274.9)
XYZxyz(4.6032, 2.6566, 18.6788)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211E7A #777A1E
analogous
#1E497A #211E7A #4F1E7A
triadic
#211E7A #7A211E #1E7A21
tetradic
#211E7A #7A1E49 #777A1E #1E7A4F
square
#211E7A #7A1E49 #777A1E #1E7A4F
split-complementary
#211E7A #7A4F1E #497A1E
monochromatic
#070619 #141249 #211E7A #2E2AAB #4742D0

Accessibility & contrast

On white

13.71
#211E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#211E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211E7A
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211E7A#FFFFFF#000000##FFFFFF
##211E7A1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317D
Deuteranopia (green-blind)
#002978
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #211e7a;
/* rgb */ color: rgb(33, 30, 122);
/* oklch */ color: oklch(31.2% 0.149 274.9);
Tailwind
colors: {
  custom: {
    50: '#6b5ba1',
    500: '#211e7a',
    950: '#000000',
  },
}
SCSS
$custom: #211e7a;
$custom-light: #6b5ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#211e7a",
  "rgb": {
    "r": 33,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 241.957,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31247,
    "c": 0.1493,
    "h": 274.9
  },
  "luminance": 0.02657
}

Semantic roles & 50–950 ramp

primary
#211E7A
secondary
#AAAE46
accent
#E444DE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #211E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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