#222E97#222E97

#222E97 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.169 H 270.2°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#222E97
RGBrgb(34, 46, 151)
HSLhsl(234, 63%, 36%)
HSVhsv(234, 77%, 59%)
CMYKcmyk(77.5%, 69.5%, 0%, 40.8%)
CIE-LABlab(25.34, 33.56, -58.52)
CIE-LCHlch(25.34, 67.46, 299.83°)
OKLaboklab(37% 0.0006 -0.1694)
OKLCHoklch(37% 0.169 270.2)
XYZxyz(7.2207, 4.5276, 29.7655)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E97 #978B22
analogous
#226997 #222E97 #512297
triadic
#222E97 #97222E #2E9722
tetradic
#222E97 #972269 #978B22 #229751
square
#222E97 #972269 #978B22 #229751
split-complementary
#222E97 #975122 #699722
monochromatic
#0C1033 #171F65 #222E97 #2D3DC9 #5A67DA

Accessibility & contrast

On white

11.02
#222E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#222E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222E97
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E97#FFFFFF#000000##FFFFFF
##222E971.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003695
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #222e97;
/* rgb */ color: rgb(34, 46, 151);
/* oklch */ color: oklch(37.0% 0.169 270.2);
Tailwind
colors: {
  custom: {
    50: '#7167b7',
    500: '#222e97',
    950: '#000000',
  },
}
SCSS
$custom: #222e97;
$custom-light: #7167b7;
$custom-dark: #000000;
JSON
{
  "hex": "#222e97",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 233.846,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37005,
    "c": 0.16937,
    "h": 270.2
  },
  "luminance": 0.04528
}

Semantic roles & 50–950 ramp

primary
#222E97
secondary
#BEB357
accent
#D542E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #222E97

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

Preview Lab → · Contrast checker → · Palette generator →

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