#211973#211973

#211973 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.7% C 0.145 H 276.8°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#211973
RGBrgb(33, 25, 115)
HSLhsl(245, 64%, 27%)
HSVhsv(245, 78%, 45%)
CMYKcmyk(71.3%, 78.3%, 0%, 54.9%)
CIE-LABlab(16.78, 33.62, -49.98)
CIE-LCHlch(16.78, 60.24, 303.93°)
OKLaboklab(29.72% 0.0172 -0.1444)
OKLCHoklch(29.72% 0.145 276.8)
XYZxyz(4.0683, 2.2560, 16.4374)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211973 #6B7319
analogous
#193E73 #211973 #4E1973
triadic
#211973 #732119 #197321
tetradic
#211973 #73193E #6B7319 #19734E
square
#211973 #73193E #6B7319 #19734E
split-complementary
#211973 #734E19 #3E7319
monochromatic
#070519 #130E41 #211973 #2F24A5 #4234D3

Accessibility & contrast

On white

14.47
#211973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#211973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211973
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211973#FFFFFF#000000##FFFFFF
##2119731.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D76
Deuteranopia (green-blind)
#002571
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #211973;
/* rgb */ color: rgb(33, 25, 115);
/* oklch */ color: oklch(29.7% 0.145 276.8);
Tailwind
colors: {
  custom: {
    50: '#6a579c',
    500: '#211973',
    950: '#000000',
  },
}
SCSS
$custom: #211973;
$custom-light: #6a579c;
$custom-dark: #000000;
JSON
{
  "hex": "#211973",
  "rgb": {
    "r": 33,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 245.333,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29716,
    "c": 0.14545,
    "h": 276.8
  },
  "luminance": 0.02256
}

Semantic roles & 50–950 ramp

primary
#211973
secondary
#9FA840
accent
#E741D8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #211973

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

Preview Lab → · Contrast checker → · Palette generator →

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