#222E8D#222E8D

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

Color values

HEX#222E8D
RGBrgb(34, 46, 141)
HSLhsl(233, 61%, 34%)
HSVhsv(233, 76%, 55%)
CMYKcmyk(75.9%, 67.4%, 0%, 44.7%)
CIE-LABlab(24.37, 29.84, -53.94)
CIE-LCHlch(24.37, 61.64, 298.95°)
OKLaboklab(36% 0.0014 -0.156)
OKLCHoklch(36% 0.156 270.5)
XYZxyz(6.4428, 4.2165, 25.6685)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E8D #8D8122
analogous
#22648D #222E8D #4C228D
triadic
#222E8D #8D222E #2E8D22
tetradic
#222E8D #8D2264 #8D8122 #228D4C
square
#222E8D #8D2264 #8D8122 #228D4C
split-complementary
#222E8D #8D4C22 #648D22
monochromatic
#0A0E2A #161E5C #222E8D #2E3EBE #5462D6

Accessibility & contrast

On white

11.39
#222E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222E8D
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E8D#FFFFFF#000000##FFFFFF
##222E8D1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #222e8d;
/* rgb */ color: rgb(34, 46, 141);
/* oklch */ color: oklch(36.0% 0.156 270.5);
Tailwind
colors: {
  custom: {
    50: '#6f67af',
    500: '#222e8d',
    950: '#000000',
  },
}
SCSS
$custom: #222e8d;
$custom-light: #6f67af;
$custom-dark: #000000;
JSON
{
  "hex": "#222e8d",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 233.271,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36004,
    "c": 0.156,
    "h": 270.5
  },
  "luminance": 0.04217
}

Semantic roles & 50–950 ramp

primary
#222E8D
secondary
#B9AE51
accent
#D244E4
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #222E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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