#211E7D#211E7D

#211E7D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.153 H 274.5°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#211E7D
RGBrgb(33, 30, 125)
HSLhsl(242, 61%, 30%)
HSVhsv(242, 76%, 49%)
CMYKcmyk(73.6%, 76%, 0%, 51%)
CIE-LABlab(18.94, 34.12, -52.83)
CIE-LCHlch(18.94, 62.89, 302.86°)
OKLaboklab(31.57% 0.0121 -0.1528)
OKLCHoklch(31.57% 0.153 274.5)
XYZxyz(4.7919, 2.7321, 19.6729)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211E7D #7A7D1E
analogous
#1E4A7D #211E7D #501E7D
triadic
#211E7D #7D211E #1E7D21
tetradic
#211E7D #7D1E4A #7A7D1E #1E7D50
square
#211E7D #7D1E4A #7A7D1E #1E7D50
split-complementary
#211E7D #7D501E #4A7D1E
monochromatic
#07061A #14124C #211E7D #2E2AAE #4843D2

Accessibility & contrast

On white

13.58
#211E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#211E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211E7D
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211E7D#FFFFFF#000000##FFFFFF
##211E7D1.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#002A7B
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #211e7d;
/* rgb */ color: rgb(33, 30, 125);
/* oklch */ color: oklch(31.6% 0.153 274.5);
Tailwind
colors: {
  custom: {
    50: '#6c5ba4',
    500: '#211e7d',
    950: '#000000',
  },
}
SCSS
$custom: #211e7d;
$custom-light: #6c5ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#211e7d",
  "rgb": {
    "r": 33,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 241.895,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31575,
    "c": 0.15325,
    "h": 274.5
  },
  "luminance": 0.02733
}

Semantic roles & 50–950 ramp

primary
#211E7D
secondary
#ADB046
accent
#E443DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #211E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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