#221773#221773

#221773 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.147 H 277.7°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#221773
RGBrgb(34, 23, 115)
HSLhsl(247, 67%, 27%)
HSVhsv(247, 80%, 45%)
CMYKcmyk(70.4%, 80%, 0%, 54.9%)
CIE-LABlab(16.46, 34.88, -50.51)
CIE-LCHlch(16.46, 61.38, 304.63°)
OKLaboklab(29.51% 0.0199 -0.1459)
OKLCHoklch(29.51% 0.147 277.7)
XYZxyz(4.0596, 2.1903, 16.4252)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221773 #687317
analogous
#173A73 #221773 #501773
triadic
#221773 #732217 #177322
tetradic
#221773 #73173A #687317 #177350
square
#221773 #73173A #687317 #177350
split-complementary
#221773 #735017 #3A7317
monochromatic
#08051A #130D40 #221773 #3121A6 #432FD5

Accessibility & contrast

On white

14.60
#221773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#221773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221773
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221773#FFFFFF#000000##FFFFFF
##2217731.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #221773;
/* rgb */ color: rgb(34, 23, 115);
/* oklch */ color: oklch(29.5% 0.147 277.7);
Tailwind
colors: {
  custom: {
    50: '#6a569c',
    500: '#221773',
    950: '#000000',
  },
}
SCSS
$custom: #221773;
$custom-light: #6a569c;
$custom-dark: #000000;
JSON
{
  "hex": "#221773",
  "rgb": {
    "r": 34,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 247.174,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29511,
    "c": 0.14726,
    "h": 277.7
  },
  "luminance": 0.02191
}

Semantic roles & 50–950 ramp

primary
#221773
secondary
#9CA93D
accent
#EA3ED5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #221773

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

Preview Lab → · Contrast checker → · Palette generator →

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