#222C73#222C73

#222C73 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.2% C 0.122 H 271.9°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#222C73
RGBrgb(34, 44, 115)
HSLhsl(233, 54%, 29%)
HSVhsv(233, 70%, 45%)
CMYKcmyk(70.4%, 61.7%, 0%, 54.9%)
CIE-LABlab(21.50, 21.28, -42.24)
CIE-LCHlch(21.50, 47.29, 296.74°)
OKLaboklab(33.16% 0.004 -0.1217)
OKLCHoklch(33.16% 0.122 271.9)
XYZxyz(4.6538, 3.3788, 16.6233)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C73 #736922
analogous
#225573 #222C73 #412273
triadic
#222C73 #73222C #2C7322
tetradic
#222C73 #732255 #736922 #227341
square
#222C73 #732255 #736922 #227341
split-complementary
#222C73 #734122 #557322
monochromatic
#070918 #141A44 #222C73 #303EA2 #4757C9

Accessibility & contrast

On white

12.53
#222C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#222C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222C73
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222C73#FFFFFF#000000##FFFFFF
##222C731.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #222c73;
/* rgb */ color: rgb(34, 44, 115);
/* oklch */ color: oklch(33.2% 0.122 271.9);
Tailwind
colors: {
  custom: {
    50: '#68659c',
    500: '#222c73',
    950: '#000000',
  },
}
SCSS
$custom: #222c73;
$custom-light: #68659c;
$custom-dark: #000000;
JSON
{
  "hex": "#222c73",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 115
  },
  "hsl": {
    "h": 232.593,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33162,
    "c": 0.12176,
    "h": 271.9
  },
  "luminance": 0.03379
}

Semantic roles & 50–950 ramp

primary
#222C73
secondary
#A69B4B
accent
#CB4ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #222C73

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

Preview Lab → · Contrast checker → · Palette generator →

#222C73 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva