#222C9C#222C9C

#222C9C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.178 H 270.3°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#222C9C
RGBrgb(34, 44, 156)
HSLhsl(235, 64%, 37%)
HSVhsv(235, 78%, 61%)
CMYKcmyk(78.2%, 71.8%, 0%, 38.8%)
CIE-LABlab(25.38, 36.64, -61.51)
CIE-LCHlch(25.38, 71.60, 300.78°)
OKLaboklab(37.19% 0.001 -0.1781)
OKLCHoklch(37.19% 0.178 270.3)
XYZxyz(7.5591, 4.5409, 31.9241)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C9C #9C9222
analogous
#22699C #222C9C #55229C
triadic
#222C9C #9C222C #2C9C22
tetradic
#222C9C #9C2269 #9C9222 #229C55
square
#222C9C #9C2269 #9C9222 #229C55
split-complementary
#222C9C #9C5522 #699C22
monochromatic
#0C1038 #171E6A #222C9C #2D3ACE #5D67DC

Accessibility & contrast

On white

11.00
#222C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#222C9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222C9C
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222C9C#FFFFFF#000000##FFFFFF
##222C9C1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#00369A
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #222c9c;
/* rgb */ color: rgb(34, 44, 156);
/* oklch */ color: oklch(37.2% 0.178 270.3);
Tailwind
colors: {
  custom: {
    50: '#7366ba',
    500: '#222c9c',
    950: '#000000',
  },
}
SCSS
$custom: #222c9c;
$custom-light: #7366ba;
$custom-dark: #000000;
JSON
{
  "hex": "#222c9c",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 156
  },
  "hsl": {
    "h": 235.082,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37187,
    "c": 0.17811,
    "h": 270.3
  },
  "luminance": 0.04542
}

Semantic roles & 50–950 ramp

primary
#222C9C
secondary
#C0B85A
accent
#DA41E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #222C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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