#222385#222385

#222385 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.158 H 273.3°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#222385
RGBrgb(34, 35, 133)
HSLhsl(239, 59%, 33%)
HSVhsv(239, 74%, 52%)
CMYKcmyk(74.4%, 73.7%, 0%, 47.8%)
CIE-LABlab(20.96, 33.99, -54.55)
CIE-LCHlch(20.96, 64.28, 301.93°)
OKLaboklab(33.29% 0.0091 -0.1578)
OKLCHoklch(33.29% 0.158 273.3)
XYZxyz(5.4929, 3.2350, 22.5207)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222385 #858422
analogous
#225485 #222385 #522285
triadic
#222385 #852223 #238522
tetradic
#222385 #852254 #858422 #228552
square
#222385 #852254 #858422 #228552
split-complementary
#222385 #855222 #548522
monochromatic
#090924 #161654 #222385 #2E30B6 #4F51D2

Accessibility & contrast

On white

12.75
#222385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#222385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222385
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222385#FFFFFF#000000##FFFFFF
##2223851.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#002E83
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #222385;
/* rgb */ color: rgb(34, 35, 133);
/* oklch */ color: oklch(33.3% 0.158 273.3);
Tailwind
colors: {
  custom: {
    50: '#6e5faa',
    500: '#222385',
    950: '#000000',
  },
}
SCSS
$custom: #222385;
$custom-light: #6e5faa;
$custom-dark: #000000;
JSON
{
  "hex": "#222385",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 133
  },
  "hsl": {
    "h": 239.394,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33294,
    "c": 0.15805,
    "h": 273.3
  },
  "luminance": 0.03236
}

Semantic roles & 50–950 ramp

primary
#222385
secondary
#B6B44D
accent
#E145E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #222385

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

Preview Lab → · Contrast checker → · Palette generator →

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