#211854#211854

#211854 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.3% C 0.104 H 283.5°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#211854
RGBrgb(33, 24, 84)
HSLhsl(249, 56%, 21%)
HSVhsv(249, 71%, 33%)
CMYKcmyk(60.7%, 71.4%, 0%, 67.1%)
CIE-LABlab(13.33, 23.33, -35.12)
CIE-LCHlch(13.33, 42.16, 303.60°)
OKLaboklab(26.28% 0.0242 -0.1009)
OKLCHoklch(26.28% 0.104 283.5)
XYZxyz(2.5536, 1.6165, 8.5633)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211854 #4B5418
analogous
#182D54 #211854 #3F1854
triadic
#211854 #542118 #185421
tetradic
#211854 #54182D #4B5418 #18543F
square
#211854 #54182D #4B5418 #18543F
split-complementary
#211854 #543F18 #2D5418
monochromatic
#090718 #0E0A24 #211854 #342684 #4633B3

Accessibility & contrast

On white

15.87
#211854 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#211854 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211854
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211854#FFFFFF#000000##FFFFFF
##2118541.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002456
Deuteranopia (green-blind)
#002053
Tritanopia (blue-blind)
#082733
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #211854;
/* rgb */ color: rgb(33, 24, 84);
/* oklch */ color: oklch(26.3% 0.104 283.5);
Tailwind
colors: {
  custom: {
    50: '#635585',
    500: '#211854',
    950: '#000000',
  },
}
SCSS
$custom: #211854;
$custom-light: #635585;
$custom-dark: #000000;
JSON
{
  "hex": "#211854",
  "rgb": {
    "r": 33,
    "g": 24,
    "b": 84
  },
  "hsl": {
    "h": 249,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.26276,
    "c": 0.1038,
    "h": 283.5
  },
  "luminance": 0.01617
}

Semantic roles & 50–950 ramp

primary
#211854
secondary
#7F8B3D
accent
#DF49C8
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #211854

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

Preview Lab → · Contrast checker → · Palette generator →

#211854 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva