#222373#222373

#222373 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.134 H 275.0°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#222373
RGBrgb(34, 35, 115)
HSLhsl(239, 54%, 29%)
HSVhsv(239, 70%, 45%)
CMYKcmyk(70.4%, 69.6%, 0%, 54.9%)
CIE-LABlab(19.14, 27.45, -46.09)
CIE-LCHlch(19.14, 53.65, 300.77°)
OKLaboklab(31.43% 0.0116 -0.1331)
OKLCHoklch(31.43% 0.134 275)
XYZxyz(4.3542, 2.7796, 16.5234)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222373 #737222
analogous
#224C73 #222373 #4A2273
triadic
#222373 #732223 #237322
tetradic
#222373 #73224C #737222 #22734A
square
#222373 #73224C #737222 #22734A
split-complementary
#222373 #734A22 #4C7322
monochromatic
#070718 #141544 #222373 #3031A2 #4748C9

Accessibility & contrast

On white

13.50
#222373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#222373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222373
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222373#FFFFFF#000000##FFFFFF
##2223731.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003275
Deuteranopia (green-blind)
#002B71
Tritanopia (blue-blind)
#003847
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #222373;
/* rgb */ color: rgb(34, 35, 115);
/* oklch */ color: oklch(31.4% 0.134 275.0);
Tailwind
colors: {
  custom: {
    50: '#695e9c',
    500: '#222373',
    950: '#000000',
  },
}
SCSS
$custom: #222373;
$custom-light: #695e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#222373",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 115
  },
  "hsl": {
    "h": 239.259,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31427,
    "c": 0.13359,
    "h": 275
  },
  "luminance": 0.0278
}

Semantic roles & 50–950 ramp

primary
#222373
secondary
#A6A54B
accent
#DC4ADE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #222373

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

Preview Lab → · Contrast checker → · Palette generator →

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