#221973#221973

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

Color values

HEX#221973
RGBrgb(34, 25, 115)
HSLhsl(246, 64%, 27%)
HSVhsv(246, 78%, 45%)
CMYKcmyk(70.4%, 78.3%, 0%, 54.9%)
CIE-LABlab(16.86, 33.74, -49.84)
CIE-LCHlch(16.86, 60.19, 304.09°)
OKLaboklab(29.79% 0.0187 -0.144)
OKLCHoklch(29.79% 0.145 277.4)
XYZxyz(4.1008, 2.2728, 16.4389)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221973 #6A7319
analogous
#193D73 #221973 #4F1973
triadic
#221973 #732219 #197322
tetradic
#221973 #73193D #6A7319 #19734F
square
#221973 #73193D #6A7319 #19734F
split-complementary
#221973 #734F19 #3D7319
monochromatic
#070519 #130E41 #221973 #3124A5 #4434D3

Accessibility & contrast

On white

14.44
#221973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221973
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221973#FFFFFF#000000##FFFFFF
##2219731.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D76
Deuteranopia (green-blind)
#002671
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #221973;
/* rgb */ color: rgb(34, 25, 115);
/* oklch */ color: oklch(29.8% 0.145 277.4);
Tailwind
colors: {
  custom: {
    50: '#6a579c',
    500: '#221973',
    950: '#000000',
  },
}
SCSS
$custom: #221973;
$custom-light: #6a579c;
$custom-dark: #000000;
JSON
{
  "hex": "#221973",
  "rgb": {
    "r": 34,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 246,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29794,
    "c": 0.1452,
    "h": 277.4
  },
  "luminance": 0.02273
}

Semantic roles & 50–950 ramp

primary
#221973
secondary
#9EA840
accent
#E741D7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #221973

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

Preview Lab → · Contrast checker → · Palette generator →

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