#222C79#222C79

#222C79 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.131 H 271.7°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#222C79
RGBrgb(34, 44, 121)
HSLhsl(233, 56%, 30%)
HSVhsv(233, 72%, 47%)
CMYKcmyk(71.9%, 63.6%, 0%, 52.5%)
CIE-LABlab(22.02, 23.59, -45.22)
CIE-LCHlch(22.02, 51.00, 297.55°)
OKLaboklab(33.71% 0.004 -0.1304)
OKLCHoklch(33.71% 0.131 271.7)
XYZxyz(5.0104, 3.5214, 18.5011)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C79 #796F22
analogous
#225879 #222C79 #432279
triadic
#222C79 #79222C #2C7922
tetradic
#222C79 #792258 #796F22 #227943
square
#222C79 #792258 #796F22 #227943
split-complementary
#222C79 #794322 #587922
monochromatic
#070919 #151B49 #222C79 #2F3DA9 #4958CC

Accessibility & contrast

On white

12.32
#222C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#222C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222C79
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222C79#FFFFFF#000000##FFFFFF
##222C791.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003178
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #222c79;
/* rgb */ color: rgb(34, 44, 121);
/* oklch */ color: oklch(33.7% 0.131 271.7);
Tailwind
colors: {
  custom: {
    50: '#6a65a0',
    500: '#222c79',
    950: '#000000',
  },
}
SCSS
$custom: #222c79;
$custom-light: #6a65a0;
$custom-dark: #000000;
JSON
{
  "hex": "#222c79",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 121
  },
  "hsl": {
    "h": 233.103,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3371,
    "c": 0.13051,
    "h": 271.7
  },
  "luminance": 0.03522
}

Semantic roles & 50–950 ramp

primary
#222C79
secondary
#ACA14B
accent
#CE48DF
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050F
muted
#7A7A7E

Preview Lab

Preview with #222C79

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

Preview Lab → · Contrast checker → · Palette generator →

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