#222473#222473

#222473 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.132 H 274.7°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#222473
RGBrgb(34, 36, 115)
HSLhsl(239, 54%, 29%)
HSVhsv(239, 70%, 45%)
CMYKcmyk(70.4%, 68.7%, 0%, 54.9%)
CIE-LABlab(19.39, 26.78, -45.69)
CIE-LCHlch(19.39, 52.96, 300.38°)
OKLaboklab(31.61% 0.0108 -0.1319)
OKLCHoklch(31.61% 0.132 274.7)
XYZxyz(4.3841, 2.8392, 16.5333)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222473 #737122
analogous
#224D73 #222473 #492273
triadic
#222473 #732224 #247322
tetradic
#222473 #73224D #737122 #227349
square
#222473 #73224D #737122 #227349
split-complementary
#222473 #734922 #4D7322
monochromatic
#070718 #141544 #222473 #3033A2 #474AC9

Accessibility & contrast

On white

13.39
#222473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#222473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222473
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222473#FFFFFF#000000##FFFFFF
##2224731.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#002B71
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #222473;
/* rgb */ color: rgb(34, 36, 115);
/* oklch */ color: oklch(31.6% 0.132 274.7);
Tailwind
colors: {
  custom: {
    50: '#695f9c',
    500: '#222473',
    950: '#000000',
  },
}
SCSS
$custom: #222473;
$custom-light: #695f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#222473",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 115
  },
  "hsl": {
    "h": 238.519,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31608,
    "c": 0.13232,
    "h": 274.7
  },
  "luminance": 0.0284
}

Semantic roles & 50–950 ramp

primary
#222473
secondary
#A6A44B
accent
#DA4ADE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #222473

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

Preview Lab → · Contrast checker → · Palette generator →

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