#222984#222984

#222984 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.150 H 272.1°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#222984
RGBrgb(34, 41, 132)
HSLhsl(236, 59%, 33%)
HSVhsv(236, 74%, 52%)
CMYKcmyk(74.2%, 68.9%, 0%, 48.2%)
CIE-LABlab(22.27, 29.78, -51.77)
CIE-LCHlch(22.27, 59.72, 299.91°)
OKLaboklab(34.21% 0.0055 -0.1497)
OKLCHoklch(34.21% 0.15 272.1)
XYZxyz(5.6161, 3.5913, 22.2225)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222984 #847D22
analogous
#225A84 #222984 #4C2284
triadic
#222984 #842229 #298422
tetradic
#222984 #84225A #847D22 #22844C
square
#222984 #84225A #847D22 #22844C
split-complementary
#222984 #844C22 #5A8422
monochromatic
#090B23 #151A53 #222984 #2F38B5 #4F58D2

Accessibility & contrast

On white

12.22
#222984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222984
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222984#FFFFFF#000000##FFFFFF
##2229841.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A87
Deuteranopia (green-blind)
#003182
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #222984;
/* rgb */ color: rgb(34, 41, 132);
/* oklch */ color: oklch(34.2% 0.150 272.1);
Tailwind
colors: {
  custom: {
    50: '#6d63a9',
    500: '#222984',
    950: '#000000',
  },
}
SCSS
$custom: #222984;
$custom-light: #6d63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#222984",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 132
  },
  "hsl": {
    "h": 235.714,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34208,
    "c": 0.14976,
    "h": 272.1
  },
  "luminance": 0.03592
}

Semantic roles & 50–950 ramp

primary
#222984
secondary
#B5AE4D
accent
#D746E2
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #222984

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

Preview Lab → · Contrast checker → · Palette generator →

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