#222992#222992

#222992 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.168 H 271.3°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#222992
RGBrgb(34, 41, 146)
HSLhsl(236, 62%, 35%)
HSVhsv(236, 77%, 57%)
CMYKcmyk(76.7%, 71.9%, 0%, 42.7%)
CIE-LABlab(23.67, 34.91, -58.19)
CIE-LCHlch(23.67, 67.86, 300.96°)
OKLaboklab(35.65% 0.0038 -0.1684)
OKLCHoklch(35.65% 0.168 271.3)
XYZxyz(6.6392, 4.0006, 27.6108)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222992 #928B22
analogous
#226192 #222992 #532292
triadic
#222992 #922229 #299222
tetradic
#222992 #922261 #928B22 #229253
square
#222992 #922261 #928B22 #229253
split-complementary
#222992 #925322 #619222
monochromatic
#0B0D2F #161B60 #222992 #2E37C4 #575FD8

Accessibility & contrast

On white

11.67
#222992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#222992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222992
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222992#FFFFFF#000000##FFFFFF
##2229921.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003390
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #222992;
/* rgb */ color: rgb(34, 41, 146);
/* oklch */ color: oklch(35.6% 0.168 271.3);
Tailwind
colors: {
  custom: {
    50: '#7063b3',
    500: '#222992',
    950: '#000000',
  },
}
SCSS
$custom: #222992;
$custom-light: #7063b3;
$custom-dark: #000000;
JSON
{
  "hex": "#222992",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 146
  },
  "hsl": {
    "h": 236.25,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35646,
    "c": 0.16845,
    "h": 271.3
  },
  "luminance": 0.04001
}

Semantic roles & 50–950 ramp

primary
#222992
secondary
#BCB554
accent
#DB43E5
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #222992

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

Preview Lab → · Contrast checker → · Palette generator →

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