#222C7D#222C7D

#222C7D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.136 H 271.6°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#222C7D
RGBrgb(34, 44, 125)
HSLhsl(233, 57%, 31%)
HSVhsv(233, 73%, 49%)
CMYKcmyk(72.8%, 64.8%, 0%, 51%)
CIE-LABlab(22.38, 25.12, -47.18)
CIE-LCHlch(22.38, 53.45, 298.04°)
OKLaboklab(34.08% 0.0038 -0.1362)
OKLCHoklch(34.08% 0.136 271.6)
XYZxyz(5.2608, 3.6216, 19.8199)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C7D #7D7322
analogous
#22597D #222C7D #45227D
triadic
#222C7D #7D222C #2C7D22
tetradic
#222C7D #7D2259 #7D7322 #227D45
square
#222C7D #7D2259 #7D7322 #227D45
split-complementary
#222C7D #7D4522 #597D22
monochromatic
#080A1D #151B4D #222C7D #2F3DAD #4B5ACE

Accessibility & contrast

On white

12.18
#222C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#222C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222C7D
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222C7D#FFFFFF#000000##FFFFFF
##222C7D1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#00317B
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #222c7d;
/* rgb */ color: rgb(34, 44, 125);
/* oklch */ color: oklch(34.1% 0.136 271.6);
Tailwind
colors: {
  custom: {
    50: '#6b65a3',
    500: '#222c7d',
    950: '#000000',
  },
}
SCSS
$custom: #222c7d;
$custom-light: #6b65a3;
$custom-dark: #000000;
JSON
{
  "hex": "#222c7d",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 125
  },
  "hsl": {
    "h": 233.407,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34084,
    "c": 0.13624,
    "h": 271.6
  },
  "luminance": 0.03622
}

Semantic roles & 50–950 ramp

primary
#222C7D
secondary
#B0A54B
accent
#D047E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #222C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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