#22185B#22185B

#22185B is a dark, moderate blue. Relative luminance 0.017; OKLCH L 27.1% C 0.114 H 282.5°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#22185B
RGBrgb(34, 24, 91)
HSLhsl(249, 58%, 23%)
HSVhsv(249, 74%, 36%)
CMYKcmyk(62.6%, 73.6%, 0%, 64.3%)
CIE-LABlab(14.11, 26.00, -38.57)
CIE-LCHlch(14.11, 46.51, 303.98°)
OKLaboklab(27.07% 0.0246 -0.111)
OKLCHoklch(27.07% 0.114 282.5)
XYZxyz(2.8741, 1.7485, 10.0815)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22185B #515B18
analogous
#18305B #22185B #43185B
triadic
#22185B #5B2218 #185B22
tetradic
#22185B #5B1830 #515B18 #185B43
square
#22185B #5B1830 #515B18 #185B43
split-complementary
#22185B #5B4318 #305B18
monochromatic
#090618 #100B2B #22185B #34258B #4632BC

Accessibility & contrast

On white

15.56
#22185B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#22185B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22185B
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22185B#FFFFFF#000000##FFFFFF
##22185B1.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265D
Deuteranopia (green-blind)
#00215A
Tritanopia (blue-blind)
#022A37
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #22185b;
/* rgb */ color: rgb(34, 24, 91);
/* oklch */ color: oklch(27.1% 0.114 282.5);
Tailwind
colors: {
  custom: {
    50: '#65568a',
    500: '#22185b',
    950: '#000000',
  },
}
SCSS
$custom: #22185b;
$custom-light: #65568a;
$custom-dark: #000000;
JSON
{
  "hex": "#22185b",
  "rgb": {
    "r": 34,
    "g": 24,
    "b": 91
  },
  "hsl": {
    "h": 248.955,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.27071,
    "c": 0.11373,
    "h": 282.5
  },
  "luminance": 0.01749
}

Semantic roles & 50–950 ramp

primary
#22185B
secondary
#85923D
accent
#E146CA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #22185B

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

Preview Lab → · Contrast checker → · Palette generator →

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