#22418C#22418C

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

Color values

HEX#22418C
RGBrgb(34, 65, 140)
HSLhsl(222, 61%, 34%)
HSVhsv(222, 76%, 55%)
CMYKcmyk(75.7%, 53.6%, 0%, 45.1%)
CIE-LABlab(29.45, 16.47, -45.06)
CIE-LCHlch(29.45, 47.97, 290.08°)
OKLaboklab(39.76% -0.0129 -0.1297)
OKLCHoklch(39.76% 0.13 264.3)
XYZxyz(7.2819, 6.0133, 25.5828)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22418C #8C6D22
analogous
#22768C #22418C #38228C
triadic
#22418C #8C2241 #418C22
tetradic
#22418C #8C2276 #8C6D22 #228C38
square
#22418C #8C2276 #8C6D22 #228C38
split-complementary
#22418C #8C3822 #768C22
monochromatic
#0A132A #162A5B #22418C #2E58BD #5379D5

Accessibility & contrast

On white

9.53
#22418C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22418C
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22418C#FFFFFF#000000##FFFFFF
##22418C1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22418c;
/* rgb */ color: rgb(34, 65, 140);
/* oklch */ color: oklch(39.8% 0.130 264.3);
Tailwind
colors: {
  custom: {
    50: '#6d75ae',
    500: '#22418c',
    950: '#000000',
  },
}
SCSS
$custom: #22418c;
$custom-light: #6d75ae;
$custom-dark: #000000;
JSON
{
  "hex": "#22418c",
  "rgb": {
    "r": 34,
    "g": 65,
    "b": 140
  },
  "hsl": {
    "h": 222.453,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3976,
    "c": 0.1303,
    "h": 264.3
  },
  "luminance": 0.06014
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22418C

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

Preview Lab → · Contrast checker → · Palette generator →

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