#222A92#222A92

#222A92 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.167 H 271.1°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#222A92
RGBrgb(34, 42, 146)
HSLhsl(236, 62%, 35%)
HSVhsv(236, 77%, 57%)
CMYKcmyk(76.7%, 71.2%, 0%, 42.7%)
CIE-LABlab(23.90, 34.28, -57.81)
CIE-LCHlch(23.90, 67.21, 300.67°)
OKLaboklab(35.81% 0.0033 -0.1673)
OKLCHoklch(35.81% 0.167 271.1)
XYZxyz(6.6742, 4.0706, 27.6225)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222A92 #928A22
analogous
#226292 #222A92 #522292
triadic
#222A92 #92222A #2A9222
tetradic
#222A92 #922262 #928A22 #229252
square
#222A92 #922262 #928A22 #229252
split-complementary
#222A92 #925222 #629222
monochromatic
#0B0D2F #161C60 #222A92 #2E38C4 #5760D8

Accessibility & contrast

On white

11.58
#222A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#222A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222A92
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222A92#FFFFFF#000000##FFFFFF
##222A921.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003390
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #222a92;
/* rgb */ color: rgb(34, 42, 146);
/* oklch */ color: oklch(35.8% 0.167 271.1);
Tailwind
colors: {
  custom: {
    50: '#7064b3',
    500: '#222a92',
    950: '#000000',
  },
}
SCSS
$custom: #222a92;
$custom-light: #7064b3;
$custom-dark: #000000;
JSON
{
  "hex": "#222a92",
  "rgb": {
    "r": 34,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 235.714,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35812,
    "c": 0.16734,
    "h": 271.1
  },
  "luminance": 0.04071
}

Semantic roles & 50–950 ramp

primary
#222A92
secondary
#BCB454
accent
#DA43E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #222A92

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

Preview Lab → · Contrast checker → · Palette generator →

#222A92 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva