#222C86#222C86

#222C86 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.149 H 271.3°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#222C86
RGBrgb(34, 44, 134)
HSLhsl(234, 60%, 33%)
HSVhsv(234, 75%, 53%)
CMYKcmyk(74.6%, 67.2%, 0%, 47.5%)
CIE-LABlab(23.21, 28.54, -51.48)
CIE-LCHlch(23.21, 58.86, 299.00°)
OKLaboklab(34.95% 0.0033 -0.1488)
OKLCHoklch(34.95% 0.149 271.3)
XYZxyz(5.8620, 3.8621, 22.9862)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C86 #867C22
analogous
#225E86 #222C86 #4A2286
triadic
#222C86 #86222C #2C8622
tetradic
#222C86 #86225E #867C22 #22864A
square
#222C86 #86225E #867C22 #22864A
split-complementary
#222C86 #864A22 #5E8622
monochromatic
#090C24 #161C55 #222C86 #2E3CB7 #505DD3

Accessibility & contrast

On white

11.85
#222C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#222C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222C86
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222C86#FFFFFF#000000##FFFFFF
##222C861.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003384
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #222c86;
/* rgb */ color: rgb(34, 44, 134);
/* oklch */ color: oklch(35.0% 0.149 271.3);
Tailwind
colors: {
  custom: {
    50: '#6d65aa',
    500: '#222c86',
    950: '#000000',
  },
}
SCSS
$custom: #222c86;
$custom-light: #6d65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#222c86",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 234,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34951,
    "c": 0.14885,
    "h": 271.3
  },
  "luminance": 0.03863
}

Semantic roles & 50–950 ramp

primary
#222C86
secondary
#B6AC4E
accent
#D345E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #222C86

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

Preview Lab → · Contrast checker → · Palette generator →

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