#222985#222985

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

Color values

HEX#222985
RGBrgb(34, 41, 133)
HSLhsl(236, 59%, 33%)
HSVhsv(236, 74%, 52%)
CMYKcmyk(74.4%, 69.2%, 0%, 47.8%)
CIE-LABlab(22.37, 30.15, -52.24)
CIE-LCHlch(22.37, 60.32, 300.00°)
OKLaboklab(34.31% 0.0054 -0.151)
OKLCHoklch(34.31% 0.151 272)
XYZxyz(5.6848, 3.6188, 22.5847)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222985 #857E22
analogous
#225A85 #222985 #4D2285
triadic
#222985 #852229 #298522
tetradic
#222985 #85225A #857E22 #22854D
square
#222985 #85225A #857E22 #22854D
split-complementary
#222985 #854D22 #5A8522
monochromatic
#090B24 #161A54 #222985 #2E38B6 #4F59D2

Accessibility & contrast

On white

12.18
#222985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#222985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222985
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222985#FFFFFF#000000##FFFFFF
##2229851.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003183
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #222985;
/* rgb */ color: rgb(34, 41, 133);
/* oklch */ color: oklch(34.3% 0.151 272.0);
Tailwind
colors: {
  custom: {
    50: '#6d63a9',
    500: '#222985',
    950: '#000000',
  },
}
SCSS
$custom: #222985;
$custom-light: #6d63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#222985",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 235.758,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34308,
    "c": 0.15113,
    "h": 272
  },
  "luminance": 0.03619
}

Semantic roles & 50–950 ramp

primary
#222985
secondary
#B6AE4D
accent
#D745E2
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #222985

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

Preview Lab → · Contrast checker → · Palette generator →

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