#222D9A#222D9A

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

Color values

HEX#222D9A
RGBrgb(34, 45, 154)
HSLhsl(235, 64%, 37%)
HSVhsv(235, 78%, 60%)
CMYKcmyk(77.9%, 70.8%, 0%, 39.6%)
CIE-LABlab(25.41, 35.29, -60.25)
CIE-LCHlch(25.41, 69.82, 300.36°)
OKLaboklab(37.14% 0.0008 -0.1744)
OKLCHoklch(37.14% 0.174 270.3)
XYZxyz(7.4288, 4.5491, 31.0521)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222D9A #9A8F22
analogous
#22699A #222D9A #53229A
triadic
#222D9A #9A222D #2D9A22
tetradic
#222D9A #9A2269 #9A8F22 #229A53
square
#222D9A #9A2269 #9A8F22 #229A53
split-complementary
#222D9A #9A5322 #699A22
monochromatic
#0C1036 #171E68 #222D9A #2D3CCC #5B67DB

Accessibility & contrast

On white

10.99
#222D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#222D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222D9A
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222D9A#FFFFFF#000000##FFFFFF
##222D9A1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003698
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #222d9a;
/* rgb */ color: rgb(34, 45, 154);
/* oklch */ color: oklch(37.1% 0.174 270.3);
Tailwind
colors: {
  custom: {
    50: '#7266b9',
    500: '#222d9a',
    950: '#000000',
  },
}
SCSS
$custom: #222d9a;
$custom-light: #7266b9;
$custom-dark: #000000;
JSON
{
  "hex": "#222d9a",
  "rgb": {
    "r": 34,
    "g": 45,
    "b": 154
  },
  "hsl": {
    "h": 234.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37143,
    "c": 0.17442,
    "h": 270.3
  },
  "luminance": 0.0455
}

Semantic roles & 50–950 ramp

primary
#222D9A
secondary
#BFB658
accent
#D841E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #222D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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