#22418D#22418D

#22418D is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.132 H 264.4°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#22418D
RGBrgb(34, 65, 141)
HSLhsl(223, 61%, 34%)
HSVhsv(223, 76%, 55%)
CMYKcmyk(75.9%, 53.9%, 0%, 44.7%)
CIE-LABlab(29.52, 16.87, -45.55)
CIE-LCHlch(29.52, 48.58, 290.32°)
OKLaboklab(39.84% -0.0127 -0.1311)
OKLCHoklch(39.84% 0.132 264.4)
XYZxyz(7.3560, 6.0430, 25.9729)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22418D #8D6E22
analogous
#22778D #22418D #39228D
triadic
#22418D #8D2241 #418D22
tetradic
#22418D #8D2277 #8D6E22 #228D39
square
#22418D #8D2277 #8D6E22 #228D39
split-complementary
#22418D #8D3922 #778D22
monochromatic
#0A142A #162A5C #22418D #2E58BE #5479D6

Accessibility & contrast

On white

9.51
#22418D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#22418D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22418D
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22418D#FFFFFF#000000##FFFFFF
##22418D1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4B90
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #22418d;
/* rgb */ color: rgb(34, 65, 141);
/* oklch */ color: oklch(39.8% 0.132 264.4);
Tailwind
colors: {
  custom: {
    50: '#6d75af',
    500: '#22418d',
    950: '#000000',
  },
}
SCSS
$custom: #22418d;
$custom-light: #6d75af;
$custom-dark: #000000;
JSON
{
  "hex": "#22418d",
  "rgb": {
    "r": 34,
    "g": 65,
    "b": 141
  },
  "hsl": {
    "h": 222.617,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3984,
    "c": 0.13174,
    "h": 264.4
  },
  "luminance": 0.06044
}

Semantic roles & 50–950 ramp

primary
#22418D
secondary
#B99B51
accent
#B644E4
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #22418D

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

Preview Lab → · Contrast checker → · Palette generator →

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