#222185#222185

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

Color values

HEX#222185
RGBrgb(34, 33, 133)
HSLhsl(241, 60%, 33%)
HSVhsv(241, 75%, 52%)
CMYKcmyk(74.4%, 75.2%, 0%, 47.8%)
CIE-LABlab(20.52, 35.22, -55.28)
CIE-LCHlch(20.52, 65.55, 302.50°)
OKLaboklab(32.98% 0.0102 -0.1599)
OKLCHoklch(32.98% 0.16 273.6)
XYZxyz(5.4358, 3.1207, 22.5016)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222185 #848521
analogous
#215285 #222185 #542185
triadic
#222185 #852221 #218522
tetradic
#222185 #852152 #848521 #218554
square
#222185 #852152 #848521 #218554
split-complementary
#222185 #855421 #528521
monochromatic
#090923 #151554 #222185 #2F2DB6 #4F4DD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##222185#FFFFFF#000000##FFFFFF
##2221851.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)
#003688
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #222185;
/* rgb */ color: rgb(34, 33, 133);
/* oklch */ color: oklch(33.0% 0.160 273.6);
Tailwind
colors: {
  custom: {
    50: '#6e5daa',
    500: '#222185',
    950: '#000000',
  },
}
SCSS
$custom: #222185;
$custom-light: #6e5daa;
$custom-dark: #000000;
JSON
{
  "hex": "#222185",
  "rgb": {
    "r": 34,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 240.6,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32979,
    "c": 0.16022,
    "h": 273.6
  },
  "luminance": 0.03121
}

Semantic roles & 50–950 ramp

primary
#222185
secondary
#B5B64C
accent
#E344E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #222185

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

Preview Lab → · Contrast checker → · Palette generator →

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