#222384#222384

#222384 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.157 H 273.4°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#222384
RGBrgb(34, 35, 132)
HSLhsl(239, 59%, 33%)
HSVhsv(239, 74%, 52%)
CMYKcmyk(74.2%, 73.5%, 0%, 48.2%)
CIE-LABlab(20.86, 33.64, -54.09)
CIE-LCHlch(20.86, 63.70, 301.87°)
OKLaboklab(33.19% 0.0092 -0.1565)
OKLCHoklch(33.19% 0.157 273.4)
XYZxyz(5.4242, 3.2075, 22.1586)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222384 #848322
analogous
#225484 #222384 #522284
triadic
#222384 #842223 #238422
tetradic
#222384 #842254 #848322 #228452
square
#222384 #842254 #848322 #228452
split-complementary
#222384 #845222 #548422
monochromatic
#090923 #151653 #222384 #2F30B5 #4F50D2

Accessibility & contrast

On white

12.79
#222384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#222384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222384
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222384#FFFFFF#000000##FFFFFF
##2223841.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#002D82
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #222384;
/* rgb */ color: rgb(34, 35, 132);
/* oklch */ color: oklch(33.2% 0.157 273.4);
Tailwind
colors: {
  custom: {
    50: '#6d5fa9',
    500: '#222384',
    950: '#000000',
  },
}
SCSS
$custom: #222384;
$custom-light: #6d5fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#222384",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 132
  },
  "hsl": {
    "h": 239.388,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33187,
    "c": 0.15673,
    "h": 273.4
  },
  "luminance": 0.03208
}

Semantic roles & 50–950 ramp

primary
#222384
secondary
#B5B44D
accent
#E146E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #222384

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

Preview Lab → · Contrast checker → · Palette generator →

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