#222E9E#222E9E

#222E9E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.178 H 269.9°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#222E9E
RGBrgb(34, 46, 158)
HSLhsl(234, 65%, 38%)
HSVhsv(234, 78%, 62%)
CMYKcmyk(78.5%, 70.9%, 0%, 38%)
CIE-LABlab(26.05, 36.11, -61.65)
CIE-LCHlch(26.05, 71.44, 300.36°)
OKLaboklab(37.72% -0.0002 -0.1785)
OKLCHoklch(37.72% 0.178 269.9)
XYZxyz(7.8061, 4.7618, 32.8488)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E9E #9E9222
analogous
#226C9E #222E9E #54229E
triadic
#222E9E #9E222E #2E9E22
tetradic
#222E9E #9E226C #9E9222 #229E54
square
#222E9E #9E226C #9E9222 #229E54
split-complementary
#222E9E #9E5422 #6C9E22
monochromatic
#0C1139 #171F6C #222E9E #2D3DD0 #5E6ADC

Accessibility & contrast

On white

10.75
#222E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#222E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222E9E
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E9E#FFFFFF#000000##FFFFFF
##222E9E1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #222e9e;
/* rgb */ color: rgb(34, 46, 158);
/* oklch */ color: oklch(37.7% 0.178 269.9);
Tailwind
colors: {
  custom: {
    50: '#7367bc',
    500: '#222e9e',
    950: '#000000',
  },
}
SCSS
$custom: #222e9e;
$custom-light: #7367bc;
$custom-dark: #000000;
JSON
{
  "hex": "#222e9e",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 234.194,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37724,
    "c": 0.17849,
    "h": 269.9
  },
  "luminance": 0.04763
}

Semantic roles & 50–950 ramp

primary
#222E9E
secondary
#C1B75B
accent
#D740E8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #222E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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