#222C9D#222C9D

#222C9D is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.179 H 270.3°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#222C9D
RGBrgb(34, 44, 157)
HSLhsl(235, 64%, 37%)
HSVhsv(235, 78%, 62%)
CMYKcmyk(78.3%, 72%, 0%, 38.4%)
CIE-LABlab(25.49, 37.00, -61.95)
CIE-LCHlch(25.49, 72.16, 300.84°)
OKLaboklab(37.29% 0.0009 -0.1794)
OKLCHoklch(37.29% 0.179 270.3)
XYZxyz(7.6441, 4.5749, 32.3719)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C9D #9D9322
analogous
#22699D #222C9D #56229D
triadic
#222C9D #9D222C #2C9D22
tetradic
#222C9D #9D2269 #9D9322 #229D56
square
#222C9D #9D2269 #9D9322 #229D56
split-complementary
#222C9D #9D5622 #699D22
monochromatic
#0C1038 #171E6B #222C9D #2D3ACF #5D68DC

Accessibility & contrast

On white

10.96
#222C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#222C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222C9D
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222C9D#FFFFFF#000000##FFFFFF
##222C9D1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A0
Deuteranopia (green-blind)
#00369B
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #222c9d;
/* rgb */ color: rgb(34, 44, 157);
/* oklch */ color: oklch(37.3% 0.179 270.3);
Tailwind
colors: {
  custom: {
    50: '#7366bb',
    500: '#222c9d',
    950: '#000000',
  },
}
SCSS
$custom: #222c9d;
$custom-light: #7366bb;
$custom-dark: #000000;
JSON
{
  "hex": "#222c9d",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 157
  },
  "hsl": {
    "h": 235.122,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37292,
    "c": 0.17939,
    "h": 270.3
  },
  "luminance": 0.04576
}

Semantic roles & 50–950 ramp

primary
#222C9D
secondary
#C1B85A
accent
#DA40E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #222C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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