#222086#222086

#222086 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.163 H 273.7°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#222086
RGBrgb(34, 32, 134)
HSLhsl(241, 61%, 33%)
HSVhsv(241, 76%, 53%)
CMYKcmyk(74.6%, 76.1%, 0%, 47.5%)
CIE-LABlab(20.42, 36.17, -56.08)
CIE-LCHlch(20.42, 66.73, 302.82°)
OKLaboklab(32.94% 0.0105 -0.1622)
OKLCHoklch(32.94% 0.163 273.7)
XYZxyz(5.4778, 3.0938, 22.8581)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222086 #848620
analogous
#205186 #222086 #552086
triadic
#222086 #862220 #208622
tetradic
#222086 #862051 #848620 #208655
square
#222086 #862051 #848620 #208655
split-complementary
#222086 #865520 #518620
monochromatic
#090823 #151455 #222086 #2F2CB7 #4F4CD4

Accessibility & contrast

On white

12.97
#222086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#222086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222086
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222086#FFFFFF#000000##FFFFFF
##2220861.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002C84
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #222086;
/* rgb */ color: rgb(34, 32, 134);
/* oklch */ color: oklch(32.9% 0.163 273.7);
Tailwind
colors: {
  custom: {
    50: '#6e5daa',
    500: '#222086',
    950: '#000000',
  },
}
SCSS
$custom: #222086;
$custom-light: #6e5daa;
$custom-dark: #000000;
JSON
{
  "hex": "#222086",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 241.176,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32937,
    "c": 0.16257,
    "h": 273.7
  },
  "luminance": 0.03094
}

Semantic roles & 50–950 ramp

primary
#222086
secondary
#B5B74B
accent
#E543E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #222086

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

Preview Lab → · Contrast checker → · Palette generator →

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