#211E7E#211E7E

#211E7E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.155 H 274.4°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#211E7E
RGBrgb(33, 30, 126)
HSLhsl(242, 62%, 31%)
HSVhsv(242, 76%, 49%)
CMYKcmyk(73.8%, 76.2%, 0%, 50.6%)
CIE-LABlab(19.05, 34.47, -53.29)
CIE-LCHlch(19.05, 63.46, 302.90°)
OKLaboklab(31.69% 0.0119 -0.1541)
OKLCHoklch(31.69% 0.155 274.4)
XYZxyz(4.8561, 2.7578, 20.0110)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211E7E #7B7E1E
analogous
#1E4B7E #211E7E #511E7E
triadic
#211E7E #7E211E #1E7E21
tetradic
#211E7E #7E1E4B #7B7E1E #1E7E51
square
#211E7E #7E1E4B #7B7E1E #1E7E51
split-complementary
#211E7E #7E511E #4B7E1E
monochromatic
#07061B #14124D #211E7E #2E2AAF #4844D2

Accessibility & contrast

On white

13.53
#211E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211E7E
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211E7E#FFFFFF#000000##FFFFFF
##211E7E1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#002A7C
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #211e7e;
/* rgb */ color: rgb(33, 30, 126);
/* oklch */ color: oklch(31.7% 0.155 274.4);
Tailwind
colors: {
  custom: {
    50: '#6c5ba4',
    500: '#211e7e',
    950: '#000000',
  },
}
SCSS
$custom: #211e7e;
$custom-light: #6c5ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#211e7e",
  "rgb": {
    "r": 33,
    "g": 30,
    "b": 126
  },
  "hsl": {
    "h": 241.875,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31685,
    "c": 0.15456,
    "h": 274.4
  },
  "luminance": 0.02758
}

Semantic roles & 50–950 ramp

primary
#211E7E
secondary
#AEB147
accent
#E543E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #211E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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