#211E8F#211E8F

#211E8F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.6% C 0.176 H 272.7°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#211E8F
RGBrgb(33, 30, 143)
HSLhsl(242, 65%, 34%)
HSVhsv(242, 79%, 56%)
CMYKcmyk(76.9%, 79%, 0%, 43.9%)
CIE-LABlab(20.96, 40.31, -60.81)
CIE-LCHlch(20.96, 72.96, 303.54°)
OKLaboklab(33.6% 0.0083 -0.176)
OKLCHoklch(33.6% 0.176 272.7)
XYZxyz(6.0477, 3.2344, 26.2868)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211E8F #8C8F1E
analogous
#1E548F #211E8F #5A1E8F
triadic
#211E8F #8F211E #1E8F21
tetradic
#211E8F #8F1E54 #8C8F1E #1E8F5A
square
#211E8F #8F1E54 #8C8F1E #1E8F5A
split-complementary
#211E8F #8F5A1E #548F1E
monochromatic
#0A092A #15135C #211E8F #2D29C2 #514EDA

Accessibility & contrast

On white

12.75
#211E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#211E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211E8F
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211E8F#FFFFFF#000000##FFFFFF
##211E8F1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003892
Deuteranopia (green-blind)
#002D8D
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #211e8f;
/* rgb */ color: rgb(33, 30, 143);
/* oklch */ color: oklch(33.6% 0.176 272.7);
Tailwind
colors: {
  custom: {
    50: '#705cb1',
    500: '#211e8f',
    950: '#000000',
  },
}
SCSS
$custom: #211e8f;
$custom-light: #705cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#211e8f",
  "rgb": {
    "r": 33,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 241.593,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33602,
    "c": 0.17619,
    "h": 272.7
  },
  "luminance": 0.03235
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #211E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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