#222585#222585

#222585 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.156 H 272.9°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#222585
RGBrgb(34, 37, 133)
HSLhsl(238, 59%, 33%)
HSVhsv(238, 74%, 52%)
CMYKcmyk(74.4%, 72.2%, 0%, 47.8%)
CIE-LABlab(21.42, 32.74, -53.80)
CIE-LCHlch(21.42, 62.98, 301.32°)
OKLaboklab(33.62% 0.0079 -0.1556)
OKLCHoklch(33.62% 0.156 272.9)
XYZxyz(5.5535, 3.3561, 22.5409)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222585 #858222
analogous
#225685 #222585 #512285
triadic
#222585 #852225 #258522
tetradic
#222585 #852256 #858222 #228551
square
#222585 #852256 #858222 #228551
split-complementary
#222585 #855122 #568522
monochromatic
#090A24 #161754 #222585 #2E33B6 #4F53D2

Accessibility & contrast

On white

12.56
#222585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#222585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222585
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222585#FFFFFF#000000##FFFFFF
##2225851.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#002F83
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #222585;
/* rgb */ color: rgb(34, 37, 133);
/* oklch */ color: oklch(33.6% 0.156 272.9);
Tailwind
colors: {
  custom: {
    50: '#6d60aa',
    500: '#222585',
    950: '#000000',
  },
}
SCSS
$custom: #222585;
$custom-light: #6d60aa;
$custom-dark: #000000;
JSON
{
  "hex": "#222585",
  "rgb": {
    "r": 34,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 238.182,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3362,
    "c": 0.15581,
    "h": 272.9
  },
  "luminance": 0.03357
}

Semantic roles & 50–950 ramp

primary
#222585
secondary
#B6B24D
accent
#DE45E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #222585

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

Preview Lab → · Contrast checker → · Palette generator →

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