#22418B#22418B

#22418B is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.7% C 0.129 H 264.2°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#22418B
RGBrgb(34, 65, 139)
HSLhsl(222, 61%, 34%)
HSVhsv(222, 76%, 55%)
CMYKcmyk(75.5%, 53.2%, 0%, 45.5%)
CIE-LABlab(29.37, 16.07, -44.56)
CIE-LCHlch(29.37, 47.37, 289.84°)
OKLaboklab(39.68% -0.013 -0.1282)
OKLCHoklch(39.68% 0.129 264.2)
XYZxyz(7.2085, 5.9840, 25.1962)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22418B #8B6C22
analogous
#22768B #22418B #38228B
triadic
#22418B #8B2241 #418B22
tetradic
#22418B #8B2276 #8B6C22 #228B38
square
#22418B #8B2276 #8B6C22 #228B38
split-complementary
#22418B #8B3822 #768B22
monochromatic
#0A1329 #162A5A #22418B #2E58BC #5379D5

Accessibility & contrast

On white

9.56
#22418B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#22418B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22418B
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22418B#FFFFFF#000000##FFFFFF
##22418B1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104A8E
Deuteranopia (green-blind)
#00418A
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #22418b;
/* rgb */ color: rgb(34, 65, 139);
/* oklch */ color: oklch(39.7% 0.129 264.2);
Tailwind
colors: {
  custom: {
    50: '#6d75ad',
    500: '#22418b',
    950: '#000000',
  },
}
SCSS
$custom: #22418b;
$custom-light: #6d75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#22418b",
  "rgb": {
    "r": 34,
    "g": 65,
    "b": 139
  },
  "hsl": {
    "h": 222.286,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3968,
    "c": 0.12885,
    "h": 264.2
  },
  "luminance": 0.05985
}

Semantic roles & 50–950 ramp

primary
#22418B
secondary
#B89A50
accent
#B544E4
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #22418B

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

Preview Lab → · Contrast checker → · Palette generator →

#22418B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva