#222C76#222C76

#222C76 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.126 H 271.8°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#222C76
RGBrgb(34, 44, 118)
HSLhsl(233, 55%, 30%)
HSVhsv(233, 71%, 46%)
CMYKcmyk(71.2%, 62.7%, 0%, 53.7%)
CIE-LABlab(21.76, 22.44, -43.74)
CIE-LCHlch(21.76, 49.15, 297.16°)
OKLaboklab(33.43% 0.004 -0.1261)
OKLCHoklch(33.43% 0.126 271.8)
XYZxyz(4.8293, 3.4490, 17.5472)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C76 #766C22
analogous
#225676 #222C76 #422276
triadic
#222C76 #76222C #2C7622
tetradic
#222C76 #762256 #766C22 #227642
square
#222C76 #762256 #766C22 #227642
split-complementary
#222C76 #764222 #567622
monochromatic
#070918 #141A46 #222C76 #303EA6 #4858CA

Accessibility & contrast

On white

12.43
#222C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#222C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222C76
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222C76#FFFFFF#000000##FFFFFF
##222C761.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003075
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #222c76;
/* rgb */ color: rgb(34, 44, 118);
/* oklch */ color: oklch(33.4% 0.126 271.8);
Tailwind
colors: {
  custom: {
    50: '#69659e',
    500: '#222c76',
    950: '#000000',
  },
}
SCSS
$custom: #222c76;
$custom-light: #69659e;
$custom-dark: #000000;
JSON
{
  "hex": "#222c76",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 118
  },
  "hsl": {
    "h": 232.857,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33434,
    "c": 0.12615,
    "h": 271.8
  },
  "luminance": 0.03449
}

Semantic roles & 50–950 ramp

primary
#222C76
secondary
#A99E4B
accent
#CD49DF
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #222C76

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

Preview Lab → · Contrast checker → · Palette generator →

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