#211F8D#211F8D

#211F8D is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.173 H 272.8°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#211F8D
RGBrgb(33, 31, 141)
HSLhsl(241, 64%, 34%)
HSVhsv(241, 78%, 55%)
CMYKcmyk(76.6%, 78%, 0%, 44.7%)
CIE-LABlab(20.93, 39.07, -59.62)
CIE-LCHlch(20.93, 71.28, 303.24°)
OKLaboklab(33.51% 0.0083 -0.1725)
OKLCHoklch(33.51% 0.173 272.8)
XYZxyz(5.9233, 3.2258, 25.5046)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F8D #8B8D1F
analogous
#1F548D #211F8D #581F8D
triadic
#211F8D #8D211F #1F8D21
tetradic
#211F8D #8D1F54 #8B8D1F #1F8D58
square
#211F8D #8D1F54 #8B8D1F #1F8D58
split-complementary
#211F8D #8D581F #548D1F
monochromatic
#0A0929 #15145B #211F8D #2D2ABF #514ED8

Accessibility & contrast

On white

12.76
#211F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#211F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F8D
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F8D#FFFFFF#000000##FFFFFF
##211F8D1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003890
Deuteranopia (green-blind)
#002D8B
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #211f8d;
/* rgb */ color: rgb(33, 31, 141);
/* oklch */ color: oklch(33.5% 0.173 272.8);
Tailwind
colors: {
  custom: {
    50: '#705db0',
    500: '#211f8d',
    950: '#000000',
  },
}
SCSS
$custom: #211f8d;
$custom-light: #705db0;
$custom-dark: #000000;
JSON
{
  "hex": "#211f8d",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 141
  },
  "hsl": {
    "h": 241.091,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33512,
    "c": 0.17274,
    "h": 272.8
  },
  "luminance": 0.03226
}

Semantic roles & 50–950 ramp

primary
#211F8D
secondary
#B9BB4D
accent
#E741E4
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #211F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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