#222573#222573

#222573 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.131 H 274.4°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#222573
RGBrgb(34, 37, 115)
HSLhsl(238, 54%, 29%)
HSVhsv(238, 70%, 45%)
CMYKcmyk(70.4%, 67.8%, 0%, 54.9%)
CIE-LABlab(19.64, 26.11, -45.27)
CIE-LCHlch(19.64, 52.26, 299.97°)
OKLaboklab(31.79% 0.01 -0.1307)
OKLCHoklch(31.79% 0.131 274.4)
XYZxyz(4.4147, 2.9006, 16.5436)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222573 #737022
analogous
#224E73 #222573 #482273
triadic
#222573 #732225 #257322
tetradic
#222573 #73224E #737022 #227348
square
#222573 #73224E #737022 #227348
split-complementary
#222573 #734822 #4E7322
monochromatic
#070818 #141644 #222573 #3034A2 #474CC9

Accessibility & contrast

On white

13.29
#222573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#222573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222573
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222573#FFFFFF#000000##FFFFFF
##2225731.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#002C72
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #222573;
/* rgb */ color: rgb(34, 37, 115);
/* oklch */ color: oklch(31.8% 0.131 274.4);
Tailwind
colors: {
  custom: {
    50: '#695f9c',
    500: '#222573',
    950: '#000000',
  },
}
SCSS
$custom: #222573;
$custom-light: #695f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#222573",
  "rgb": {
    "r": 34,
    "g": 37,
    "b": 115
  },
  "hsl": {
    "h": 237.778,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31793,
    "c": 0.13104,
    "h": 274.4
  },
  "luminance": 0.02901
}

Semantic roles & 50–950 ramp

primary
#222573
secondary
#A6A34B
accent
#D84ADE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #222573

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

Preview Lab → · Contrast checker → · Palette generator →

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