#222485#222485

#222485 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.157 H 273.1°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#222485
RGBrgb(34, 36, 133)
HSLhsl(239, 59%, 33%)
HSVhsv(239, 74%, 52%)
CMYKcmyk(74.4%, 72.9%, 0%, 47.8%)
CIE-LABlab(21.19, 33.37, -54.18)
CIE-LCHlch(21.19, 63.63, 301.63°)
OKLaboklab(33.46% 0.0085 -0.1567)
OKLCHoklch(33.46% 0.157 273.1)
XYZxyz(5.5228, 3.2947, 22.5306)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222485 #858322
analogous
#225585 #222485 #512285
triadic
#222485 #852224 #248522
tetradic
#222485 #852255 #858322 #228551
square
#222485 #852255 #858322 #228551
split-complementary
#222485 #855122 #558522
monochromatic
#090A24 #161754 #222485 #2E31B6 #4F52D2

Accessibility & contrast

On white

12.66
#222485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#222485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222485
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222485#FFFFFF#000000##FFFFFF
##2224851.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#002E83
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #222485;
/* rgb */ color: rgb(34, 36, 133);
/* oklch */ color: oklch(33.5% 0.157 273.1);
Tailwind
colors: {
  custom: {
    50: '#6e5faa',
    500: '#222485',
    950: '#000000',
  },
}
SCSS
$custom: #222485;
$custom-light: #6e5faa;
$custom-dark: #000000;
JSON
{
  "hex": "#222485",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 238.788,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33455,
    "c": 0.15694,
    "h": 273.1
  },
  "luminance": 0.03295
}

Semantic roles & 50–950 ramp

primary
#222485
secondary
#B6B34D
accent
#DF45E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #222485

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

Preview Lab → · Contrast checker → · Palette generator →

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