#22418E#22418E

#22418E is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.9% C 0.133 H 264.5°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#22418E
RGBrgb(34, 65, 142)
HSLhsl(223, 61%, 35%)
HSVhsv(223, 76%, 56%)
CMYKcmyk(76.1%, 54.2%, 0%, 44.3%)
CIE-LABlab(29.60, 17.26, -46.05)
CIE-LCHlch(29.60, 49.18, 290.55°)
OKLaboklab(39.92% -0.0126 -0.1326)
OKLCHoklch(39.92% 0.133 264.5)
XYZxyz(7.4307, 6.0729, 26.3665)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22418E #8E6F22
analogous
#22778E #22418E #39228E
triadic
#22418E #8E2241 #418E22
tetradic
#22418E #8E2277 #8E6F22 #228E39
square
#22418E #8E2277 #8E6F22 #228E39
split-complementary
#22418E #8E3922 #778E22
monochromatic
#0A142B #162A5D #22418E #2E58BF #547AD6

Accessibility & contrast

On white

9.48
#22418E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22418E
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22418E#FFFFFF#000000##FFFFFF
##22418E1.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094B91
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #22418e;
/* rgb */ color: rgb(34, 65, 142);
/* oklch */ color: oklch(39.9% 0.133 264.5);
Tailwind
colors: {
  custom: {
    50: '#6d75b0',
    500: '#22418e',
    950: '#000000',
  },
}
SCSS
$custom: #22418e;
$custom-light: #6d75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#22418e",
  "rgb": {
    "r": 34,
    "g": 65,
    "b": 142
  },
  "hsl": {
    "h": 222.778,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39921,
    "c": 0.13317,
    "h": 264.5
  },
  "luminance": 0.06074
}

Semantic roles & 50–950 ramp

primary
#22418E
secondary
#BA9C52
accent
#B643E4
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #22418E

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

Preview Lab → · Contrast checker → · Palette generator →

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