#211E8E#211E8E

#211E8E is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.175 H 272.8°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#211E8E
RGBrgb(33, 30, 142)
HSLhsl(242, 65%, 34%)
HSVhsv(242, 79%, 56%)
CMYKcmyk(76.8%, 78.9%, 0%, 44.3%)
CIE-LABlab(20.84, 39.97, -60.38)
CIE-LCHlch(20.84, 72.41, 303.50°)
OKLaboklab(33.49% 0.0085 -0.1747)
OKLCHoklch(33.49% 0.175 272.8)
XYZxyz(5.9723, 3.2042, 25.8897)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211E8E #8B8E1E
analogous
#1E538E #211E8E #591E8E
triadic
#211E8E #8E211E #1E8E21
tetradic
#211E8E #8E1E53 #8B8E1E #1E8E59
square
#211E8E #8E1E53 #8B8E1E #1E8E59
split-complementary
#211E8E #8E591E #538E1E
monochromatic
#0A0929 #15135B #211E8E #2D29C1 #514DD9

Accessibility & contrast

On white

12.80
#211E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#211E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211E8E
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211E8E#FFFFFF#000000##FFFFFF
##211E8E1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003791
Deuteranopia (green-blind)
#002D8C
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #211e8e;
/* rgb */ color: rgb(33, 30, 142);
/* oklch */ color: oklch(33.5% 0.175 272.8);
Tailwind
colors: {
  custom: {
    50: '#705cb0',
    500: '#211e8e',
    950: '#000000',
  },
}
SCSS
$custom: #211e8e;
$custom-light: #705cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#211e8e",
  "rgb": {
    "r": 33,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 241.607,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33488,
    "c": 0.17494,
    "h": 272.8
  },
  "luminance": 0.03205
}

Semantic roles & 50–950 ramp

primary
#211E8E
secondary
#B9BC4C
accent
#E840E4
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #211E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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