#222C9A#222C9A

#222C9A is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.176 H 270.4°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#222C9A
RGBrgb(34, 44, 154)
HSLhsl(235, 64%, 37%)
HSVhsv(235, 78%, 60%)
CMYKcmyk(77.9%, 71.4%, 0%, 39.6%)
CIE-LABlab(25.18, 35.92, -60.63)
CIE-LCHlch(25.18, 70.47, 300.64°)
OKLaboklab(36.98% 0.0013 -0.1755)
OKLCHoklch(36.98% 0.176 270.4)
XYZxyz(7.3911, 4.4737, 31.0396)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C9A #9A9022
analogous
#22689A #222C9A #54229A
triadic
#222C9A #9A222C #2C9A22
tetradic
#222C9A #9A2268 #9A9022 #229A54
square
#222C9A #9A2268 #9A9022 #229A54
split-complementary
#222C9A #9A5422 #689A22
monochromatic
#0C0F36 #171E68 #222C9A #2D3ACC #5B66DB

Accessibility & contrast

On white

11.08
#222C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#222C9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222C9A
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222C9A#FFFFFF#000000##FFFFFF
##222C9A1.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003698
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #222c9a;
/* rgb */ color: rgb(34, 44, 154);
/* oklch */ color: oklch(37.0% 0.176 270.4);
Tailwind
colors: {
  custom: {
    50: '#7266b9',
    500: '#222c9a',
    950: '#000000',
  },
}
SCSS
$custom: #222c9a;
$custom-light: #7266b9;
$custom-dark: #000000;
JSON
{
  "hex": "#222c9a",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 154
  },
  "hsl": {
    "h": 235,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36977,
    "c": 0.17553,
    "h": 270.4
  },
  "luminance": 0.04475
}

Semantic roles & 50–950 ramp

primary
#222C9A
secondary
#BFB758
accent
#D941E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #222C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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