#222D8F#222D8F

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

Color values

HEX#222D8F
RGBrgb(34, 45, 143)
HSLhsl(234, 62%, 35%)
HSVhsv(234, 76%, 56%)
CMYKcmyk(76.2%, 68.5%, 0%, 43.9%)
CIE-LABlab(24.32, 31.25, -55.27)
CIE-LCHlch(24.32, 63.49, 299.48°)
OKLaboklab(36.02% 0.0019 -0.1599)
OKLCHoklch(36.02% 0.16 270.7)
XYZxyz(6.5543, 4.1993, 26.4464)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222D8F #8F8422
analogous
#22648F #222D8F #4E228F
triadic
#222D8F #8F222D #2D8F22
tetradic
#222D8F #8F2264 #8F8422 #228F4E
square
#222D8F #8F2264 #8F8422 #228F4E
split-complementary
#222D8F #8F4E22 #648F22
monochromatic
#0A0E2C #161D5E #222D8F #2E3DC0 #5562D7

Accessibility & contrast

On white

11.41
#222D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#222D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222D8F
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222D8F#FFFFFF#000000##FFFFFF
##222D8F1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #222d8f;
/* rgb */ color: rgb(34, 45, 143);
/* oklch */ color: oklch(36.0% 0.160 270.7);
Tailwind
colors: {
  custom: {
    50: '#6f66b1',
    500: '#222d8f',
    950: '#000000',
  },
}
SCSS
$custom: #222d8f;
$custom-light: #6f66b1;
$custom-dark: #000000;
JSON
{
  "hex": "#222d8f",
  "rgb": {
    "r": 34,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 233.945,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36023,
    "c": 0.15989,
    "h": 270.7
  },
  "luminance": 0.042
}

Semantic roles & 50–950 ramp

primary
#222D8F
secondary
#BAB052
accent
#D443E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #222D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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