#22185D#22185D

#22185D is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.3% C 0.117 H 282.0°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#22185D
RGBrgb(34, 24, 93)
HSLhsl(249, 59%, 23%)
HSVhsv(249, 74%, 36%)
CMYKcmyk(63.4%, 74.2%, 0%, 63.5%)
CIE-LABlab(14.31, 26.70, -39.58)
CIE-LCHlch(14.31, 47.75, 304.00°)
OKLaboklab(27.28% 0.0242 -0.114)
OKLCHoklch(27.28% 0.117 282)
XYZxyz(2.9615, 1.7835, 10.5420)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22185D #535D18
analogous
#18305D #22185D #44185D
triadic
#22185D #5D2218 #185D22
tetradic
#22185D #5D1830 #535D18 #185D44
square
#22185D #5D1830 #535D18 #185D44
split-complementary
#22185D #5D4418 #305D18
monochromatic
#090618 #100B2C #22185D #34258E #4631BE

Accessibility & contrast

On white

15.48
#22185D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#22185D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22185D
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22185D#FFFFFF#000000##FFFFFF
##22185D1.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275F
Deuteranopia (green-blind)
#00225C
Tritanopia (blue-blind)
#002A38
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #22185d;
/* rgb */ color: rgb(34, 24, 93);
/* oklch */ color: oklch(27.3% 0.117 282.0);
Tailwind
colors: {
  custom: {
    50: '#65568c',
    500: '#22185d',
    950: '#000000',
  },
}
SCSS
$custom: #22185d;
$custom-light: #65568c;
$custom-dark: #000000;
JSON
{
  "hex": "#22185d",
  "rgb": {
    "r": 34,
    "g": 24,
    "b": 93
  },
  "hsl": {
    "h": 248.696,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27275,
    "c": 0.11656,
    "h": 282
  },
  "luminance": 0.01784
}

Semantic roles & 50–950 ramp

primary
#22185D
secondary
#87933D
accent
#E246CB
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #22185D

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

Preview Lab → · Contrast checker → · Palette generator →

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