#211699#211699

#211699 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.9% C 0.195 H 272.5°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#211699
RGBrgb(33, 22, 153)
HSLhsl(245, 75%, 34%)
HSVhsv(245, 86%, 60%)
CMYKcmyk(78.4%, 85.6%, 0%, 40%)
CIE-LABlab(20.81, 47.48, -67.24)
CIE-LCHlch(20.81, 82.31, 305.22°)
OKLaboklab(33.85% 0.0083 -0.1945)
OKLCHoklch(33.85% 0.195 272.5)
XYZxyz(6.6620, 3.1963, 30.3967)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211699 #8E9916
analogous
#164D99 #211699 #631699
triadic
#211699 #992116 #169921
tetradic
#211699 #99164D #8E9916 #169963
square
#211699 #99164D #8E9916 #169963
split-complementary
#211699 #996316 #4D9916
monochromatic
#0A072E #150E63 #211699 #2D1ECF #5245E4

Accessibility & contrast

On white

12.81
#211699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#211699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211699
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211699#FFFFFF#000000##FFFFFF
##2116991.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00389C
Deuteranopia (green-blind)
#002C97
Tritanopia (blue-blind)
#00415A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #211699;
/* rgb */ color: rgb(33, 22, 153);
/* oklch */ color: oklch(33.9% 0.195 272.5);
Tailwind
colors: {
  custom: {
    50: '#7459b8',
    500: '#211699',
    950: '#000000',
  },
}
SCSS
$custom: #211699;
$custom-light: #7459b8;
$custom-dark: #000000;
JSON
{
  "hex": "#211699",
  "rgb": {
    "r": 33,
    "g": 22,
    "b": 153
  },
  "hsl": {
    "h": 245.038,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.33852,
    "c": 0.19467,
    "h": 272.5
  },
  "luminance": 0.03197
}

Semantic roles & 50–950 ramp

primary
#211699
secondary
#BAC546
accent
#F136E2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #211699

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

Preview Lab → · Contrast checker → · Palette generator →

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