#211F59#211F59

#211F59 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.1% C 0.101 H 279.2°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#211F59
RGBrgb(33, 31, 89)
HSLhsl(242, 48%, 24%)
HSVhsv(242, 65%, 35%)
CMYKcmyk(62.9%, 65.2%, 0%, 65.1%)
CIE-LABlab(15.61, 20.32, -34.77)
CIE-LCHlch(15.61, 40.28, 300.30°)
OKLaboklab(28.09% 0.0162 -0.0999)
OKLCHoklch(28.09% 0.101 279.2)
XYZxyz(2.9198, 2.0244, 9.6861)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F59 #57591F
analogous
#1F3A59 #211F59 #3E1F59
triadic
#211F59 #59211F #1F5921
tetradic
#211F59 #591F3A #57591F #1F593E
square
#211F59 #591F3A #57591F #1F593E
split-complementary
#211F59 #593E1F #3A591F
monochromatic
#080817 #100F2C #211F59 #322F86 #433FB4

Accessibility & contrast

On white

14.95
#211F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#211F59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F59
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F59#FFFFFF#000000##FFFFFF
##211F591.0014.951.4114.95
#FFFFFF14.951.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295B
Deuteranopia (green-blind)
#002558
Tritanopia (blue-blind)
#012D38
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #211f59;
/* rgb */ color: rgb(33, 31, 89);
/* oklch */ color: oklch(28.1% 0.101 279.2);
Tailwind
colors: {
  custom: {
    50: '#635a88',
    500: '#211f59',
    950: '#000000',
  },
}
SCSS
$custom: #211f59;
$custom-light: #635a88;
$custom-dark: #000000;
JSON
{
  "hex": "#211f59",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 89
  },
  "hsl": {
    "h": 242.069,
    "s": 48.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28086,
    "c": 0.10121,
    "h": 279.2
  },
  "luminance": 0.02025
}

Semantic roles & 50–950 ramp

primary
#211F59
secondary
#8B8E46
accent
#D850D3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040B
muted
#7A797C

Preview Lab

Preview with #211F59

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

Preview Lab → · Contrast checker → · Palette generator →

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