#211A4E#211A4E

#211A4E is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.1% C 0.092 H 284.2°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#211A4E
RGBrgb(33, 26, 78)
HSLhsl(248, 50%, 20%)
HSVhsv(248, 67%, 31%)
CMYKcmyk(57.7%, 66.7%, 0%, 69.4%)
CIE-LABlab(13.30, 19.79, -31.07)
CIE-LCHlch(13.30, 36.84, 302.50°)
OKLaboklab(26.09% 0.0225 -0.089)
OKLCHoklch(26.09% 0.092 284.2)
XYZxyz(2.3713, 1.6121, 7.3925)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211A4E #474E1A
analogous
#1A2D4E #211A4E #3B1A4E
triadic
#211A4E #4E211A #1A4E21
tetradic
#211A4E #4E1A2D #474E1A #1A4E3B
square
#211A4E #4E1A2D #474E1A #1A4E3B
split-complementary
#211A4E #4E3B1A #2D4E1A
monochromatic
#0A0817 #0E0B20 #211A4E #34297C #4839AA

Accessibility & contrast

On white

15.88
#211A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#211A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211A4E
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211A4E#FFFFFF#000000##FFFFFF
##211A4E1.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002450
Deuteranopia (green-blind)
#00204D
Tritanopia (blue-blind)
#0F2631
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #211a4e;
/* rgb */ color: rgb(33, 26, 78);
/* oklch */ color: oklch(26.1% 0.092 284.2);
Tailwind
colors: {
  custom: {
    50: '#615680',
    500: '#211a4e',
    950: '#000000',
  },
}
SCSS
$custom: #211a4e;
$custom-light: #615680;
$custom-dark: #000000;
JSON
{
  "hex": "#211a4e",
  "rgb": {
    "r": 33,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 248.077,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.26086,
    "c": 0.09183,
    "h": 284.2
  },
  "luminance": 0.01612
}

Semantic roles & 50–950 ramp

primary
#211A4E
secondary
#7B8440
accent
#DA4EC7
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#05030A
muted
#79787C

Preview Lab

Preview with #211A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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