#211B5F#211B5F

#211B5F is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.9% C 0.116 H 279.8°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#211B5F
RGBrgb(33, 27, 95)
HSLhsl(245, 56%, 24%)
HSVhsv(245, 72%, 37%)
CMYKcmyk(65.3%, 71.6%, 0%, 62.7%)
CIE-LABlab(15.13, 25.28, -39.57)
CIE-LCHlch(15.13, 46.96, 302.58°)
OKLaboklab(27.91% 0.0196 -0.114)
OKLCHoklch(27.91% 0.116 279.8)
XYZxyz(3.0840, 1.9332, 11.0349)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211B5F #595F1B
analogous
#1B375F #211B5F #431B5F
triadic
#211B5F #5F211B #1B5F21
tetradic
#211B5F #5F1B37 #595F1B #1B5F43
square
#211B5F #5F1B37 #595F1B #1B5F43
split-complementary
#211B5F #5F431B #375F1B
monochromatic
#080718 #100D2F #211B5F #32298F #4236BE

Accessibility & contrast

On white

15.14
#211B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#211B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211B5F
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211B5F#FFFFFF#000000##FFFFFF
##211B5F1.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002961
Deuteranopia (green-blind)
#00235E
Tritanopia (blue-blind)
#002D3A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #211b5f;
/* rgb */ color: rgb(33, 27, 95);
/* oklch */ color: oklch(27.9% 0.116 279.8);
Tailwind
colors: {
  custom: {
    50: '#65588d',
    500: '#211b5f',
    950: '#000000',
  },
}
SCSS
$custom: #211b5f;
$custom-light: #65588d;
$custom-dark: #000000;
JSON
{
  "hex": "#211b5f",
  "rgb": {
    "r": 33,
    "g": 27,
    "b": 95
  },
  "hsl": {
    "h": 245.294,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27907,
    "c": 0.11569,
    "h": 279.8
  },
  "luminance": 0.01933
}

Semantic roles & 50–950 ramp

primary
#211B5F
secondary
#8D9541
accent
#DF49D2
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #211B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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