#222F96#222F96

#222F96 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.1% C 0.167 H 270.0°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#222F96
RGBrgb(34, 47, 150)
HSLhsl(233, 63%, 36%)
HSVhsv(233, 77%, 59%)
CMYKcmyk(77.3%, 68.7%, 0%, 41.2%)
CIE-LABlab(25.49, 32.54, -57.67)
CIE-LCHlch(25.49, 66.22, 299.43°)
OKLaboklab(37.08% 0.0001 -0.1669)
OKLCHoklch(37.08% 0.167 270)
XYZxyz(7.1793, 4.5743, 29.3528)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F96 #968922
analogous
#226996 #222F96 #4F2296
triadic
#222F96 #96222F #2F9622
tetradic
#222F96 #962269 #968922 #22964F
square
#222F96 #962269 #968922 #22964F
split-complementary
#222F96 #964F22 #699622
monochromatic
#0B1032 #171F64 #222F96 #2D3FC8 #5967D9

Accessibility & contrast

On white

10.97
#222F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#222F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222F96
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F96#FFFFFF#000000##FFFFFF
##222F961.0010.971.9210.97
#FFFFFF10.971.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003794
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #222f96;
/* rgb */ color: rgb(34, 47, 150);
/* oklch */ color: oklch(37.1% 0.167 270.0);
Tailwind
colors: {
  custom: {
    50: '#7167b6',
    500: '#222f96',
    950: '#000000',
  },
}
SCSS
$custom: #222f96;
$custom-light: #7167b6;
$custom-dark: #000000;
JSON
{
  "hex": "#222f96",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 233.276,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37078,
    "c": 0.16689,
    "h": 270
  },
  "luminance": 0.04575
}

Semantic roles & 50–950 ramp

primary
#222F96
secondary
#BEB256
accent
#D442E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #222F96

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

Preview Lab → · Contrast checker → · Palette generator →

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