#211E7F#211E7F

#211E7F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.156 H 274.3°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#211E7F
RGBrgb(33, 30, 127)
HSLhsl(242, 62%, 31%)
HSVhsv(242, 76%, 50%)
CMYKcmyk(74%, 76.4%, 0%, 50.2%)
CIE-LABlab(19.16, 34.82, -53.74)
CIE-LCHlch(19.16, 64.03, 302.94°)
OKLaboklab(31.8% 0.0117 -0.1554)
OKLCHoklch(31.8% 0.156 274.3)
XYZxyz(4.9210, 2.7837, 20.3525)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211E7F #7C7F1E
analogous
#1E4B7F #211E7F #511E7F
triadic
#211E7F #7F211E #1E7F21
tetradic
#211E7F #7F1E4B #7C7F1E #1E7F51
square
#211E7F #7F1E4B #7C7F1E #1E7F51
split-complementary
#211E7F #7F511E #4B7F1E
monochromatic
#07071C #14124D #211E7F #2E2AB1 #4944D3

Accessibility & contrast

On white

13.49
#211E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#211E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211E7F
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211E7F#FFFFFF#000000##FFFFFF
##211E7F1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#002A7D
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #211e7f;
/* rgb */ color: rgb(33, 30, 127);
/* oklch */ color: oklch(31.8% 0.156 274.3);
Tailwind
colors: {
  custom: {
    50: '#6c5ba5',
    500: '#211e7f',
    950: '#000000',
  },
}
SCSS
$custom: #211e7f;
$custom-light: #6c5ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#211e7f",
  "rgb": {
    "r": 33,
    "g": 30,
    "b": 127
  },
  "hsl": {
    "h": 241.856,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31796,
    "c": 0.15586,
    "h": 274.3
  },
  "luminance": 0.02784
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #211E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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