#211A5F#211A5F

#211A5F is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.7% C 0.117 H 280.1°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#211A5F
RGBrgb(33, 26, 95)
HSLhsl(246, 57%, 24%)
HSVhsv(246, 73%, 37%)
CMYKcmyk(65.3%, 72.6%, 0%, 62.7%)
CIE-LABlab(14.89, 25.95, -39.97)
CIE-LCHlch(14.89, 47.65, 302.99°)
OKLaboklab(27.73% 0.0205 -0.1152)
OKLCHoklch(27.73% 0.117 280.1)
XYZxyz(3.0615, 1.8881, 11.0274)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211A5F #585F1A
analogous
#1A355F #211A5F #431A5F
triadic
#211A5F #5F211A #1A5F21
tetradic
#211A5F #5F1A35 #585F1A #1A5F43
square
#211A5F #5F1A35 #585F1A #1A5F43
split-complementary
#211A5F #5F431A #355F1A
monochromatic
#080718 #100D2F #211A5F #32278F #4234BF

Accessibility & contrast

On white

15.24
#211A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#211A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211A5F
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211A5F#FFFFFF#000000##FFFFFF
##211A5F1.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002861
Deuteranopia (green-blind)
#00235E
Tritanopia (blue-blind)
#002C3A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #211a5f;
/* rgb */ color: rgb(33, 26, 95);
/* oklch */ color: oklch(27.7% 0.117 280.1);
Tailwind
colors: {
  custom: {
    50: '#65578d',
    500: '#211a5f',
    950: '#000000',
  },
}
SCSS
$custom: #211a5f;
$custom-light: #65578d;
$custom-dark: #000000;
JSON
{
  "hex": "#211a5f",
  "rgb": {
    "r": 33,
    "g": 26,
    "b": 95
  },
  "hsl": {
    "h": 246.087,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27731,
    "c": 0.117,
    "h": 280.1
  },
  "luminance": 0.01888
}

Semantic roles & 50–950 ramp

primary
#211A5F
secondary
#8C9540
accent
#E048D1
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #211A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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