#222D8E#222D8E

#222D8E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.159 H 270.7°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#222D8E
RGBrgb(34, 45, 142)
HSLhsl(234, 61%, 35%)
HSVhsv(234, 76%, 56%)
CMYKcmyk(76.1%, 68.3%, 0%, 44.3%)
CIE-LABlab(24.22, 30.87, -54.81)
CIE-LCHlch(24.22, 62.90, 299.39°)
OKLaboklab(35.92% 0.002 -0.1585)
OKLCHoklch(35.92% 0.159 270.7)
XYZxyz(6.4789, 4.1692, 26.0492)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222D8E #8E8322
analogous
#22638E #222D8E #4D228E
triadic
#222D8E #8E222D #2D8E22
tetradic
#222D8E #8E2263 #8E8322 #228E4D
square
#222D8E #8E2263 #8E8322 #228E4D
split-complementary
#222D8E #8E4D22 #638E22
monochromatic
#0A0E2B #161D5D #222D8E #2E3DBF #5462D6

Accessibility & contrast

On white

11.45
#222D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#222D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222D8E
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222D8E#FFFFFF#000000##FFFFFF
##222D8E1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00348C
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #222d8e;
/* rgb */ color: rgb(34, 45, 142);
/* oklch */ color: oklch(35.9% 0.159 270.7);
Tailwind
colors: {
  custom: {
    50: '#6f66b0',
    500: '#222d8e',
    950: '#000000',
  },
}
SCSS
$custom: #222d8e;
$custom-light: #6f66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#222d8e",
  "rgb": {
    "r": 34,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 233.889,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35923,
    "c": 0.15854,
    "h": 270.7
  },
  "luminance": 0.0417
}

Semantic roles & 50–950 ramp

primary
#222D8E
secondary
#BAAF52
accent
#D443E4
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #222D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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