#222E99#222E99

#222E99 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.172 H 270.1°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#222E99
RGBrgb(34, 46, 153)
HSLhsl(234, 64%, 37%)
HSVhsv(234, 78%, 60%)
CMYKcmyk(77.8%, 69.9%, 0%, 40%)
CIE-LABlab(25.54, 34.29, -59.42)
CIE-LCHlch(25.54, 68.60, 299.99°)
OKLaboklab(37.21% 0.0004 -0.172)
OKLCHoklch(37.21% 0.172 270.1)
XYZxyz(7.3845, 4.5932, 30.6282)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E99 #998D22
analogous
#226A99 #222E99 #522299
triadic
#222E99 #99222E #2E9922
tetradic
#222E99 #99226A #998D22 #229952
square
#222E99 #99226A #998D22 #229952
split-complementary
#222E99 #995222 #6A9922
monochromatic
#0C1035 #171F67 #222E99 #2D3DCB #5B68DB

Accessibility & contrast

On white

10.94
#222E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222E99
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E99#FFFFFF#000000##FFFFFF
##222E991.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #222e99;
/* rgb */ color: rgb(34, 46, 153);
/* oklch */ color: oklch(37.2% 0.172 270.1);
Tailwind
colors: {
  custom: {
    50: '#7267b8',
    500: '#222e99',
    950: '#000000',
  },
}
SCSS
$custom: #222e99;
$custom-light: #7267b8;
$custom-dark: #000000;
JSON
{
  "hex": "#222e99",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 233.95,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37209,
    "c": 0.172,
    "h": 270.1
  },
  "luminance": 0.04594
}

Semantic roles & 50–950 ramp

primary
#222E99
secondary
#BFB558
accent
#D641E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #222E99

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

Preview Lab → · Contrast checker → · Palette generator →

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