#211E6B#211E6B

#211E6B is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.7% C 0.129 H 276.8°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#211E6B
RGBrgb(33, 30, 107)
HSLhsl(242, 56%, 27%)
HSVhsv(242, 72%, 42%)
CMYKcmyk(69.2%, 72%, 0%, 58%)
CIE-LABlab(17.05, 27.67, -44.33)
CIE-LCHlch(17.05, 52.26, 301.97°)
OKLaboklab(29.66% 0.0153 -0.128)
OKLCHoklch(29.66% 0.129 276.8)
XYZxyz(3.7445, 2.3131, 14.1562)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211E6B #686B1E
analogous
#1E426B #211E6B #481E6B
triadic
#211E6B #6B211E #1E6B21
tetradic
#211E6B #6B1E42 #686B1E #1E6B48
square
#211E6B #6B1E42 #686B1E #1E6B48
split-complementary
#211E6B #6B481E #426B1E
monochromatic
#070718 #12113B #211E6B #302B9B #413BC8

Accessibility & contrast

On white

14.36
#211E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#211E6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211E6B
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211E6B#FFFFFF#000000##FFFFFF
##211E6B1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6D
Deuteranopia (green-blind)
#00276A
Tritanopia (blue-blind)
#003342
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #211e6b;
/* rgb */ color: rgb(33, 30, 107);
/* oklch */ color: oklch(29.7% 0.129 276.8);
Tailwind
colors: {
  custom: {
    50: '#675a96',
    500: '#211e6b',
    950: '#000000',
  },
}
SCSS
$custom: #211e6b;
$custom-light: #675a96;
$custom-dark: #000000;
JSON
{
  "hex": "#211e6b",
  "rgb": {
    "r": 33,
    "g": 30,
    "b": 107
  },
  "hsl": {
    "h": 242.338,
    "s": 56.204,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29656,
    "c": 0.12887,
    "h": 276.8
  },
  "luminance": 0.02313
}

Semantic roles & 50–950 ramp

primary
#211E6B
secondary
#9C9F45
accent
#DF48DA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #211E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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