#222973#222973

#222973 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.6% C 0.126 H 273.0°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#222973
RGBrgb(34, 41, 115)
HSLhsl(235, 54%, 29%)
HSVhsv(235, 70%, 45%)
CMYKcmyk(70.4%, 64.3%, 0%, 54.9%)
CIE-LABlab(20.69, 23.37, -43.56)
CIE-LCHlch(20.69, 49.43, 298.21°)
OKLaboklab(32.56% 0.0067 -0.1256)
OKLCHoklch(32.56% 0.126 273)
XYZxyz(4.5461, 3.1633, 16.5873)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222973 #736C22
analogous
#225273 #222973 #442273
triadic
#222973 #732229 #297322
tetradic
#222973 #732252 #736C22 #227344
square
#222973 #732252 #736C22 #227344
split-complementary
#222973 #734422 #527322
monochromatic
#070818 #141844 #222973 #303AA2 #4752C9

Accessibility & contrast

On white

12.86
#222973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#222973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222973
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222973#FFFFFF#000000##FFFFFF
##2229731.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#002E72
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #222973;
/* rgb */ color: rgb(34, 41, 115);
/* oklch */ color: oklch(32.6% 0.126 273.0);
Tailwind
colors: {
  custom: {
    50: '#69629c',
    500: '#222973',
    950: '#000000',
  },
}
SCSS
$custom: #222973;
$custom-light: #69629c;
$custom-dark: #000000;
JSON
{
  "hex": "#222973",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 115
  },
  "hsl": {
    "h": 234.815,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32559,
    "c": 0.1258,
    "h": 273
  },
  "luminance": 0.03164
}

Semantic roles & 50–950 ramp

primary
#222973
secondary
#A69E4B
accent
#D14ADE
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #222973

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

Preview Lab → · Contrast checker → · Palette generator →

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