#211754#211754

#211754 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.1% C 0.105 H 283.9°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#211754
RGBrgb(33, 23, 84)
HSLhsl(250, 57%, 21%)
HSVhsv(250, 73%, 33%)
CMYKcmyk(60.7%, 72.6%, 0%, 67.1%)
CIE-LABlab(13.08, 23.99, -35.52)
CIE-LCHlch(13.08, 42.87, 304.04°)
OKLaboklab(26.1% 0.0252 -0.1021)
OKLCHoklch(26.1% 0.105 283.9)
XYZxyz(2.5333, 1.5761, 8.5565)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211754 #4A5417
analogous
#172B54 #211754 #3F1754
triadic
#211754 #542117 #175421
tetradic
#211754 #54172B #4A5417 #17543F
square
#211754 #54172B #4A5417 #17543F
split-complementary
#211754 #543F17 #2B5417
monochromatic
#090718 #0E0A24 #211754 #342484 #4731B4

Accessibility & contrast

On white

15.97
#211754 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211754
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211754#FFFFFF#000000##FFFFFF
##2117541.0015.971.3215.97
#FFFFFF15.971.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211754;
/* rgb */ color: rgb(33, 23, 84);
/* oklch */ color: oklch(26.1% 0.105 283.9);
Tailwind
colors: {
  custom: {
    50: '#635585',
    500: '#211754',
    950: '#000000',
  },
}
SCSS
$custom: #211754;
$custom-light: #635585;
$custom-dark: #000000;
JSON
{
  "hex": "#211754",
  "rgb": {
    "r": 33,
    "g": 23,
    "b": 84
  },
  "hsl": {
    "h": 249.836,
    "s": 57.009,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26098,
    "c": 0.10521,
    "h": 283.9
  },
  "luminance": 0.01576
}

Semantic roles & 50–950 ramp

primary
#211754
secondary
#7E8B3C
accent
#E048C7
background
#F6F4F8
surface
#EBE8EF
border
#C6C4CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #211754

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

Preview Lab → · Contrast checker → · Palette generator →

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