#211E6D#211E6D

#211E6D is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.9% C 0.132 H 276.5°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#211E6D
RGBrgb(33, 30, 109)
HSLhsl(242, 57%, 27%)
HSVhsv(242, 72%, 43%)
CMYKcmyk(69.7%, 72.5%, 0%, 57.3%)
CIE-LABlab(17.25, 28.40, -45.31)
CIE-LCHlch(17.25, 53.47, 302.08°)
OKLaboklab(29.86% 0.015 -0.1308)
OKLCHoklch(29.86% 0.132 276.5)
XYZxyz(3.8509, 2.3557, 14.7168)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211E6D #6A6D1E
analogous
#1E436D #211E6D #481E6D
triadic
#211E6D #6D211E #1E6D21
tetradic
#211E6D #6D1E43 #6A6D1E #1E6D48
square
#211E6D #6D1E43 #6A6D1E #1E6D48
split-complementary
#211E6D #6D481E #436D1E
monochromatic
#070718 #12113D #211E6D #302B9D #413CC9

Accessibility & contrast

On white

14.27
#211E6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#211E6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211E6D
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211E6D#FFFFFF#000000##FFFFFF
##211E6D1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6F
Deuteranopia (green-blind)
#00276C
Tritanopia (blue-blind)
#003343
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #211e6d;
/* rgb */ color: rgb(33, 30, 109);
/* oklch */ color: oklch(29.9% 0.132 276.5);
Tailwind
colors: {
  custom: {
    50: '#685a98',
    500: '#211e6d',
    950: '#000000',
  },
}
SCSS
$custom: #211e6d;
$custom-light: #685a98;
$custom-dark: #000000;
JSON
{
  "hex": "#211e6d",
  "rgb": {
    "r": 33,
    "g": 30,
    "b": 109
  },
  "hsl": {
    "h": 242.278,
    "s": 56.835,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29863,
    "c": 0.13166,
    "h": 276.5
  },
  "luminance": 0.02356
}

Semantic roles & 50–950 ramp

primary
#211E6D
secondary
#9EA145
accent
#E048DA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #211E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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