#211F58#211F58

#211F58 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.0% C 0.100 H 279.4°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#211F58
RGBrgb(33, 31, 88)
HSLhsl(242, 48%, 23%)
HSVhsv(242, 65%, 35%)
CMYKcmyk(62.5%, 64.8%, 0%, 65.5%)
CIE-LABlab(15.53, 19.95, -34.24)
CIE-LCHlch(15.53, 39.63, 300.22°)
OKLaboklab(27.99% 0.0162 -0.0984)
OKLCHoklch(27.99% 0.1 279.4)
XYZxyz(2.8781, 2.0077, 9.4665)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F58 #56581F
analogous
#1F3958 #211F58 #3D1F58
triadic
#211F58 #58211F #1F5821
tetradic
#211F58 #581F39 #56581F #1F583D
square
#211F58 #581F39 #56581F #1F583D
split-complementary
#211F58 #583D1F #39581F
monochromatic
#080817 #100F2B #211F58 #322F85 #433FB3

Accessibility & contrast

On white

14.98
#211F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#211F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F58
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F58#FFFFFF#000000##FFFFFF
##211F581.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295A
Deuteranopia (green-blind)
#002557
Tritanopia (blue-blind)
#022D38
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #211f58;
/* rgb */ color: rgb(33, 31, 88);
/* oklch */ color: oklch(28.0% 0.100 279.4);
Tailwind
colors: {
  custom: {
    50: '#635a88',
    500: '#211f58',
    950: '#000000',
  },
}
SCSS
$custom: #211f58;
$custom-light: #635a88;
$custom-dark: #000000;
JSON
{
  "hex": "#211f58",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 88
  },
  "hsl": {
    "h": 242.105,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27994,
    "c": 0.09968,
    "h": 279.4
  },
  "luminance": 0.02008
}

Semantic roles & 50–950 ramp

primary
#211F58
secondary
#8A8D46
accent
#D750D3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040B
muted
#7A797C

Preview Lab

Preview with #211F58

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

Preview Lab → · Contrast checker → · Palette generator →

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