#222D76#222D76

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

Color values

HEX#222D76
RGBrgb(34, 45, 118)
HSLhsl(232, 55%, 30%)
HSVhsv(232, 71%, 46%)
CMYKcmyk(71.2%, 61.9%, 0%, 53.7%)
CIE-LABlab(22.03, 21.74, -43.29)
CIE-LCHlch(22.03, 48.44, 296.66°)
OKLaboklab(33.64% 0.0031 -0.1248)
OKLCHoklch(33.64% 0.125 271.4)
XYZxyz(4.8670, 3.5244, 17.5598)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222D76 #766B22
analogous
#225776 #222D76 #412276
triadic
#222D76 #76222D #2D7622
tetradic
#222D76 #762257 #766B22 #227641
square
#222D76 #762257 #766B22 #227641
split-complementary
#222D76 #764122 #577622
monochromatic
#070918 #141B46 #222D76 #303FA6 #4859CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##222D76#FFFFFF#000000##FFFFFF
##222D761.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)
#003978
Deuteranopia (green-blind)
#003175
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #222d76;
/* rgb */ color: rgb(34, 45, 118);
/* oklch */ color: oklch(33.6% 0.125 271.4);
Tailwind
colors: {
  custom: {
    50: '#69659e',
    500: '#222d76',
    950: '#000000',
  },
}
SCSS
$custom: #222d76;
$custom-light: #69659e;
$custom-dark: #000000;
JSON
{
  "hex": "#222d76",
  "rgb": {
    "r": 34,
    "g": 45,
    "b": 118
  },
  "hsl": {
    "h": 232.143,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33637,
    "c": 0.12482,
    "h": 271.4
  },
  "luminance": 0.03525
}

Semantic roles & 50–950 ramp

primary
#222D76
secondary
#A99D4B
accent
#CB49DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #222D76

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

Preview Lab → · Contrast checker → · Palette generator →

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