#222C8D#222C8D

#222C8D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.158 H 271.0°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#222C8D
RGBrgb(34, 44, 141)
HSLhsl(234, 61%, 34%)
HSVhsv(234, 76%, 55%)
CMYKcmyk(75.9%, 68.8%, 0%, 44.7%)
CIE-LABlab(23.88, 31.16, -54.75)
CIE-LCHlch(23.88, 62.99, 299.64°)
OKLaboklab(35.64% 0.0027 -0.1584)
OKLCHoklch(35.64% 0.158 271)
XYZxyz(6.3665, 4.0639, 25.6430)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C8D #8D8322
analogous
#22618D #222C8D #4E228D
triadic
#222C8D #8D222C #2C8D22
tetradic
#222C8D #8D2261 #8D8322 #228D4E
square
#222C8D #8D2261 #8D8322 #228D4E
split-complementary
#222C8D #8D4E22 #618D22
monochromatic
#0A0D2A #161D5C #222C8D #2E3BBE #5460D6

Accessibility & contrast

On white

11.58
#222C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#222C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222C8D
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222C8D#FFFFFF#000000##FFFFFF
##222C8D1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #222c8d;
/* rgb */ color: rgb(34, 44, 141);
/* oklch */ color: oklch(35.6% 0.158 271.0);
Tailwind
colors: {
  custom: {
    50: '#6f65af',
    500: '#222c8d',
    950: '#000000',
  },
}
SCSS
$custom: #222c8d;
$custom-light: #6f65af;
$custom-dark: #000000;
JSON
{
  "hex": "#222c8d",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 234.393,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35645,
    "c": 0.15838,
    "h": 271
  },
  "luminance": 0.04065
}

Semantic roles & 50–950 ramp

primary
#222C8D
secondary
#B9B051
accent
#D544E4
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #222C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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