#222C88#222C88

#222C88 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.152 H 271.2°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#222C88
RGBrgb(34, 44, 136)
HSLhsl(234, 60%, 33%)
HSVhsv(234, 75%, 53%)
CMYKcmyk(75%, 67.6%, 0%, 46.7%)
CIE-LABlab(23.40, 29.29, -52.42)
CIE-LCHlch(23.40, 60.05, 299.19°)
OKLaboklab(35.15% 0.0031 -0.1516)
OKLCHoklch(35.15% 0.152 271.2)
XYZxyz(6.0028, 3.9184, 23.7277)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C88 #887E22
analogous
#225F88 #222C88 #4B2288
triadic
#222C88 #88222C #2C8822
tetradic
#222C88 #88225F #887E22 #22884B
square
#222C88 #88225F #887E22 #22884B
split-complementary
#222C88 #884B22 #5F8822
monochromatic
#0A0C26 #161C57 #222C88 #2E3CB9 #515ED3

Accessibility & contrast

On white

11.77
#222C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#222C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222C88
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222C88#FFFFFF#000000##FFFFFF
##222C881.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8B
Deuteranopia (green-blind)
#003386
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #222c88;
/* rgb */ color: rgb(34, 44, 136);
/* oklch */ color: oklch(35.1% 0.152 271.2);
Tailwind
colors: {
  custom: {
    50: '#6d65ac',
    500: '#222c88',
    950: '#000000',
  },
}
SCSS
$custom: #222c88;
$custom-light: #6d65ac;
$custom-dark: #000000;
JSON
{
  "hex": "#222c88",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 136
  },
  "hsl": {
    "h": 234.118,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35147,
    "c": 0.15159,
    "h": 271.2
  },
  "luminance": 0.03919
}

Semantic roles & 50–950 ramp

primary
#222C88
secondary
#B7AD4F
accent
#D445E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #222C88

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

Preview Lab → · Contrast checker → · Palette generator →

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