#222A86#222A86

#222A86 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.151 H 271.7°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#222A86
RGBrgb(34, 42, 134)
HSLhsl(235, 60%, 33%)
HSVhsv(235, 75%, 53%)
CMYKcmyk(74.6%, 68.7%, 0%, 47.5%)
CIE-LABlab(22.71, 29.87, -52.30)
CIE-LCHlch(22.71, 60.23, 299.73°)
OKLaboklab(34.59% 0.0046 -0.1512)
OKLCHoklch(34.59% 0.151 271.7)
XYZxyz(5.7893, 3.7167, 22.9619)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222A86 #867E22
analogous
#225C86 #222A86 #4C2286
triadic
#222A86 #86222A #2A8622
tetradic
#222A86 #86225C #867E22 #22864C
square
#222A86 #86225C #867E22 #22864C
split-complementary
#222A86 #864C22 #5C8622
monochromatic
#090B24 #161B55 #222A86 #2E39B7 #505AD3

Accessibility & contrast

On white

12.05
#222A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#222A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222A86
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222A86#FFFFFF#000000##FFFFFF
##222A861.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003284
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #222a86;
/* rgb */ color: rgb(34, 42, 134);
/* oklch */ color: oklch(34.6% 0.151 271.7);
Tailwind
colors: {
  custom: {
    50: '#6d64aa',
    500: '#222a86',
    950: '#000000',
  },
}
SCSS
$custom: #222a86;
$custom-light: #6d64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#222a86",
  "rgb": {
    "r": 34,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 235.2,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34587,
    "c": 0.15129,
    "h": 271.7
  },
  "luminance": 0.03717
}

Semantic roles & 50–950 ramp

primary
#222A86
secondary
#B6AE4E
accent
#D645E3
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #222A86

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

Preview Lab → · Contrast checker → · Palette generator →

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