#211E7B#211E7B

#211E7B is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.151 H 274.8°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#211E7B
RGBrgb(33, 30, 123)
HSLhsl(242, 61%, 30%)
HSVhsv(242, 76%, 48%)
CMYKcmyk(73.2%, 75.6%, 0%, 51.8%)
CIE-LABlab(18.72, 33.41, -51.91)
CIE-LCHlch(18.72, 61.74, 302.77°)
OKLaboklab(31.36% 0.0125 -0.1501)
OKLCHoklch(31.36% 0.151 274.8)
XYZxyz(4.6654, 2.6815, 19.0068)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211E7B #787B1E
analogous
#1E4A7B #211E7B #4F1E7B
triadic
#211E7B #7B211E #1E7B21
tetradic
#211E7B #7B1E4A #787B1E #1E7B4F
square
#211E7B #7B1E4A #787B1E #1E7B4F
split-complementary
#211E7B #7B4F1E #4A7B1E
monochromatic
#070619 #14124A #211E7B #2E2AAC #4742D1

Accessibility & contrast

On white

13.67
#211E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#211E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211E7B
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211E7B#FFFFFF#000000##FFFFFF
##211E7B1.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327E
Deuteranopia (green-blind)
#002979
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #211e7b;
/* rgb */ color: rgb(33, 30, 123);
/* oklch */ color: oklch(31.4% 0.151 274.8);
Tailwind
colors: {
  custom: {
    50: '#6b5ba2',
    500: '#211e7b',
    950: '#000000',
  },
}
SCSS
$custom: #211e7b;
$custom-light: #6b5ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#211e7b",
  "rgb": {
    "r": 33,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 241.935,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.31356,
    "c": 0.15062,
    "h": 274.8
  },
  "luminance": 0.02682
}

Semantic roles & 50–950 ramp

primary
#211E7B
secondary
#ABAE46
accent
#E444DF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #211E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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