#222D8A#222D8A

#222D8A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.153 H 270.9°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#222D8A
RGBrgb(34, 45, 138)
HSLhsl(234, 60%, 34%)
HSVhsv(234, 75%, 54%)
CMYKcmyk(75.4%, 67.4%, 0%, 45.9%)
CIE-LABlab(23.84, 29.38, -52.95)
CIE-LCHlch(23.84, 60.55, 299.02°)
OKLaboklab(35.53% 0.0023 -0.1531)
OKLCHoklch(35.53% 0.153 270.9)
XYZxyz(6.1840, 4.0512, 24.4959)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222D8A #8A7F22
analogous
#22618A #222D8A #4B228A
triadic
#222D8A #8A222D #2D8A22
tetradic
#222D8A #8A2261 #8A7F22 #228A4B
square
#222D8A #8A2261 #8A7F22 #228A4B
split-complementary
#222D8A #8A4B22 #618A22
monochromatic
#0A0D28 #161D59 #222D8A #2E3DBB #5260D4

Accessibility & contrast

On white

11.60
#222D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#222D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222D8A
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222D8A#FFFFFF#000000##FFFFFF
##222D8A1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003488
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #222d8a;
/* rgb */ color: rgb(34, 45, 138);
/* oklch */ color: oklch(35.5% 0.153 270.9);
Tailwind
colors: {
  custom: {
    50: '#6e66ad',
    500: '#222d8a',
    950: '#000000',
  },
}
SCSS
$custom: #222d8a;
$custom-light: #6e66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#222d8a",
  "rgb": {
    "r": 34,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 233.654,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35527,
    "c": 0.15312,
    "h": 270.9
  },
  "luminance": 0.04052
}

Semantic roles & 50–950 ramp

primary
#222D8A
secondary
#B8AD50
accent
#D344E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #222D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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