#211A5D#211A5D

#211A5D is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.5% C 0.114 H 280.5°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#211A5D
RGBrgb(33, 26, 93)
HSLhsl(246, 56%, 23%)
HSVhsv(246, 72%, 36%)
CMYKcmyk(64.5%, 72%, 0%, 63.5%)
CIE-LABlab(14.69, 25.23, -38.96)
CIE-LCHlch(14.69, 46.41, 302.92°)
OKLaboklab(27.53% 0.0209 -0.1122)
OKLCHoklch(27.53% 0.114 280.5)
XYZxyz(2.9718, 1.8522, 10.5547)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211A5D #565D1A
analogous
#1A345D #211A5D #421A5D
triadic
#211A5D #5D211A #1A5D21
tetradic
#211A5D #5D1A34 #565D1A #1A5D42
square
#211A5D #5D1A34 #565D1A #1A5D42
split-complementary
#211A5D #5D421A #345D1A
monochromatic
#080718 #100D2D #211A5D #32278D #4335BD

Accessibility & contrast

On white

15.32
#211A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#211A5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211A5D
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211A5D#FFFFFF#000000##FFFFFF
##211A5D1.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275F
Deuteranopia (green-blind)
#00225C
Tritanopia (blue-blind)
#002B39
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #211a5d;
/* rgb */ color: rgb(33, 26, 93);
/* oklch */ color: oklch(27.5% 0.114 280.5);
Tailwind
colors: {
  custom: {
    50: '#64578c',
    500: '#211a5d',
    950: '#000000',
  },
}
SCSS
$custom: #211a5d;
$custom-light: #64578c;
$custom-dark: #000000;
JSON
{
  "hex": "#211a5d",
  "rgb": {
    "r": 33,
    "g": 26,
    "b": 93
  },
  "hsl": {
    "h": 246.269,
    "s": 56.303,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27528,
    "c": 0.11413,
    "h": 280.5
  },
  "luminance": 0.01852
}

Semantic roles & 50–950 ramp

primary
#211A5D
secondary
#8A9340
accent
#E048D0
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #211A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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