#222085#222085

#222085 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.161 H 273.8°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#222085
RGBrgb(34, 32, 133)
HSLhsl(241, 61%, 32%)
HSVhsv(241, 76%, 52%)
CMYKcmyk(74.4%, 75.9%, 0%, 47.8%)
CIE-LABlab(20.31, 35.82, -55.63)
CIE-LCHlch(20.31, 66.17, 302.78°)
OKLaboklab(32.83% 0.0107 -0.1609)
OKLCHoklch(32.83% 0.161 273.8)
XYZxyz(5.4084, 3.0660, 22.4925)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222085 #838520
analogous
#205185 #222085 #542085
triadic
#222085 #852220 #208522
tetradic
#222085 #852051 #838520 #208554
square
#222085 #852051 #838520 #208554
split-complementary
#222085 #855420 #518520
monochromatic
#090822 #151454 #222085 #2F2CB6 #4E4CD4

Accessibility & contrast

On white

13.02
#222085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#222085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222085
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222085#FFFFFF#000000##FFFFFF
##2220851.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222085;
/* rgb */ color: rgb(34, 32, 133);
/* oklch */ color: oklch(32.8% 0.161 273.8);
Tailwind
colors: {
  custom: {
    50: '#6e5daa',
    500: '#222085',
    950: '#000000',
  },
}
SCSS
$custom: #222085;
$custom-light: #6e5daa;
$custom-dark: #000000;
JSON
{
  "hex": "#222085",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 241.188,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32826,
    "c": 0.16128,
    "h": 273.8
  },
  "luminance": 0.03067
}

Semantic roles & 50–950 ramp

primary
#222085
secondary
#B4B74A
accent
#E443E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #222085

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

Preview Lab → · Contrast checker → · Palette generator →

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