#222986#222986

#222986 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.152 H 272.0°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#222986
RGBrgb(34, 41, 134)
HSLhsl(236, 60%, 33%)
HSVhsv(236, 75%, 53%)
CMYKcmyk(74.6%, 69.4%, 0%, 47.5%)
CIE-LABlab(22.47, 30.52, -52.70)
CIE-LCHlch(22.47, 60.90, 300.08°)
OKLaboklab(34.41% 0.0053 -0.1524)
OKLCHoklch(34.41% 0.152 272)
XYZxyz(5.7542, 3.6466, 22.9502)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222986 #867F22
analogous
#225B86 #222986 #4D2286
triadic
#222986 #862229 #298622
tetradic
#222986 #86225B #867F22 #22864D
square
#222986 #86225B #867F22 #22864D
split-complementary
#222986 #864D22 #5B8622
monochromatic
#090B24 #161A55 #222986 #2E38B7 #5059D3

Accessibility & contrast

On white

12.14
#222986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#222986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222986
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222986#FFFFFF#000000##FFFFFF
##2229861.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003184
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #222986;
/* rgb */ color: rgb(34, 41, 134);
/* oklch */ color: oklch(34.4% 0.152 272.0);
Tailwind
colors: {
  custom: {
    50: '#6d63aa',
    500: '#222986',
    950: '#000000',
  },
}
SCSS
$custom: #222986;
$custom-light: #6d63aa;
$custom-dark: #000000;
JSON
{
  "hex": "#222986",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 235.8,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34409,
    "c": 0.15248,
    "h": 272
  },
  "luminance": 0.03647
}

Semantic roles & 50–950 ramp

primary
#222986
secondary
#B6AF4E
accent
#D845E3
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #222986

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

Preview Lab → · Contrast checker → · Palette generator →

#222986 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva