#222087#222087

#222087 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.164 H 273.6°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#222087
RGBrgb(34, 32, 135)
HSLhsl(241, 62%, 33%)
HSVhsv(241, 76%, 53%)
CMYKcmyk(74.8%, 76.3%, 0%, 47.1%)
CIE-LABlab(20.53, 36.52, -56.53)
CIE-LCHlch(20.53, 67.30, 302.86°)
OKLaboklab(33.05% 0.0103 -0.1635)
OKLCHoklch(33.05% 0.164 273.6)
XYZxyz(5.5479, 3.1218, 23.2272)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222087 #858720
analogous
#205187 #222087 #552087
triadic
#222087 #872220 #208722
tetradic
#222087 #872051 #858720 #208755
square
#222087 #872051 #858720 #208755
split-complementary
#222087 #875520 #518720
monochromatic
#090924 #161456 #222087 #2E2CB8 #4F4DD5

Accessibility & contrast

On white

12.93
#222087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222087
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222087#FFFFFF#000000##FFFFFF
##2220871.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368A
Deuteranopia (green-blind)
#002C85
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #222087;
/* rgb */ color: rgb(34, 32, 135);
/* oklch */ color: oklch(33.0% 0.164 273.6);
Tailwind
colors: {
  custom: {
    50: '#6e5dab',
    500: '#222087',
    950: '#000000',
  },
}
SCSS
$custom: #222087;
$custom-light: #6e5dab;
$custom-dark: #000000;
JSON
{
  "hex": "#222087",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 241.165,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33047,
    "c": 0.16386,
    "h": 273.6
  },
  "luminance": 0.03122
}

Semantic roles & 50–950 ramp

primary
#222087
secondary
#B6B84B
accent
#E543E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #222087

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

Preview Lab → · Contrast checker → · Palette generator →

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