#222A95#222A95

#222A95 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.171 H 271.0°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#222A95
RGBrgb(34, 42, 149)
HSLhsl(236, 63%, 36%)
HSVhsv(236, 77%, 58%)
CMYKcmyk(77.2%, 71.8%, 0%, 41.6%)
CIE-LABlab(24.21, 35.37, -59.16)
CIE-LCHlch(24.21, 68.92, 300.87°)
OKLaboklab(36.13% 0.0029 -0.1712)
OKLCHoklch(36.13% 0.171 271)
XYZxyz(6.9106, 4.1652, 28.8677)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222A95 #958D22
analogous
#226395 #222A95 #532295
triadic
#222A95 #95222A #2A9522
tetradic
#222A95 #952263 #958D22 #229553
square
#222A95 #952263 #958D22 #229553
split-complementary
#222A95 #955322 #639522
monochromatic
#0B0E31 #171C63 #222A95 #2D38C7 #5861D9

Accessibility & contrast

On white

11.46
#222A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#222A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222A95
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222A95#FFFFFF#000000##FFFFFF
##222A951.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003493
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #222a95;
/* rgb */ color: rgb(34, 42, 149);
/* oklch */ color: oklch(36.1% 0.171 271.0);
Tailwind
colors: {
  custom: {
    50: '#7164b5',
    500: '#222a95',
    950: '#000000',
  },
}
SCSS
$custom: #222a95;
$custom-light: #7164b5;
$custom-dark: #000000;
JSON
{
  "hex": "#222a95",
  "rgb": {
    "r": 34,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 235.826,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36125,
    "c": 0.17126,
    "h": 271
  },
  "luminance": 0.04166
}

Semantic roles & 50–950 ramp

primary
#222A95
secondary
#BDB656
accent
#DA42E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #222A95

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

Preview Lab → · Contrast checker → · Palette generator →

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