#222E95#222E95

#222E95 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.167 H 270.3°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#222E95
RGBrgb(34, 46, 149)
HSLhsl(234, 63%, 36%)
HSVhsv(234, 77%, 58%)
CMYKcmyk(77.2%, 69.1%, 0%, 41.6%)
CIE-LABlab(25.15, 32.82, -57.61)
CIE-LCHlch(25.15, 66.31, 299.67°)
OKLaboklab(36.8% 0.0008 -0.1667)
OKLCHoklch(36.8% 0.167 270.3)
XYZxyz(7.0596, 4.4632, 28.9174)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E95 #958922
analogous
#226795 #222E95 #4F2295
triadic
#222E95 #95222E #2E9522
tetradic
#222E95 #952267 #958922 #22954F
square
#222E95 #952267 #958922 #22954F
split-complementary
#222E95 #954F22 #679522
monochromatic
#0B0F31 #171F63 #222E95 #2D3DC7 #5866D9

Accessibility & contrast

On white

11.09
#222E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#222E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222E95
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E95#FFFFFF#000000##FFFFFF
##222E951.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003693
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #222e95;
/* rgb */ color: rgb(34, 46, 149);
/* oklch */ color: oklch(36.8% 0.167 270.3);
Tailwind
colors: {
  custom: {
    50: '#7167b5',
    500: '#222e95',
    950: '#000000',
  },
}
SCSS
$custom: #222e95;
$custom-light: #7167b5;
$custom-dark: #000000;
JSON
{
  "hex": "#222e95",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 233.739,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36803,
    "c": 0.16673,
    "h": 270.3
  },
  "luminance": 0.04464
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #222E95

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

Preview Lab → · Contrast checker → · Palette generator →

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