#211C4E#211C4E

#211C4E is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.5% C 0.089 H 283.0°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#211C4E
RGBrgb(33, 28, 78)
HSLhsl(246, 47%, 21%)
HSVhsv(246, 64%, 31%)
CMYKcmyk(57.7%, 64.1%, 0%, 69.4%)
CIE-LABlab(13.85, 18.38, -30.18)
CIE-LCHlch(13.85, 35.34, 301.34°)
OKLaboklab(26.49% 0.02 -0.0864)
OKLCHoklch(26.49% 0.089 283)
XYZxyz(2.4172, 1.7038, 7.4077)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211C4E #494E1C
analogous
#1C304E #211C4E #3A1C4E
triadic
#211C4E #4E211C #1C4E21
tetradic
#211C4E #4E1C30 #494E1C #1C4E3A
square
#211C4E #4E1C30 #494E1C #1C4E3A
split-complementary
#211C4E #4E3A1C #304E1C
monochromatic
#0A0817 #0E0C21 #211C4E #342C7B #473CA8

Accessibility & contrast

On white

15.66
#211C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#211C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211C4E
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211C4E#FFFFFF#000000##FFFFFF
##211C4E1.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002550
Deuteranopia (green-blind)
#00224D
Tritanopia (blue-blind)
#0F2831
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #211c4e;
/* rgb */ color: rgb(33, 28, 78);
/* oklch */ color: oklch(26.5% 0.089 283.0);
Tailwind
colors: {
  custom: {
    50: '#615880',
    500: '#211c4e',
    950: '#000000',
  },
}
SCSS
$custom: #211c4e;
$custom-light: #615880;
$custom-dark: #000000;
JSON
{
  "hex": "#211c4e",
  "rgb": {
    "r": 33,
    "g": 28,
    "b": 78
  },
  "hsl": {
    "h": 246,
    "s": 47.17,
    "l": 20.784
  },
  "oklch": {
    "l": 0.26487,
    "c": 0.08872,
    "h": 283
  },
  "luminance": 0.01704
}

Semantic roles & 50–950 ramp

primary
#211C4E
secondary
#7D8442
accent
#D751C9
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#05030A
muted
#79787C

Preview Lab

Preview with #211C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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