#222D8D#222D8D

#222D8D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.157 H 270.8°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#222D8D
RGBrgb(34, 45, 141)
HSLhsl(234, 61%, 34%)
HSVhsv(234, 76%, 55%)
CMYKcmyk(75.9%, 68.1%, 0%, 44.7%)
CIE-LABlab(24.13, 30.50, -54.35)
CIE-LCHlch(24.13, 62.32, 299.30°)
OKLaboklab(35.82% 0.0021 -0.1572)
OKLCHoklch(35.82% 0.157 270.8)
XYZxyz(6.4042, 4.1393, 25.6556)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222D8D #8D8222
analogous
#22638D #222D8D #4D228D
triadic
#222D8D #8D222D #2D8D22
tetradic
#222D8D #8D2263 #8D8222 #228D4D
square
#222D8D #8D2263 #8D8222 #228D4D
split-complementary
#222D8D #8D4D22 #638D22
monochromatic
#0A0E2A #161D5C #222D8D #2E3DBE #5461D6

Accessibility & contrast

On white

11.49
#222D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222D8D
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222D8D#FFFFFF#000000##FFFFFF
##222D8D1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #222d8d;
/* rgb */ color: rgb(34, 45, 141);
/* oklch */ color: oklch(35.8% 0.157 270.8);
Tailwind
colors: {
  custom: {
    50: '#6f66af',
    500: '#222d8d',
    950: '#000000',
  },
}
SCSS
$custom: #222d8d;
$custom-light: #6f66af;
$custom-dark: #000000;
JSON
{
  "hex": "#222d8d",
  "rgb": {
    "r": 34,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 233.832,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35824,
    "c": 0.15719,
    "h": 270.8
  },
  "luminance": 0.0414
}

Semantic roles & 50–950 ramp

primary
#222D8D
secondary
#B9AF51
accent
#D444E4
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #222D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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