#22185E#22185E

#22185E is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.4% C 0.118 H 281.8°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#22185E
RGBrgb(34, 24, 94)
HSLhsl(249, 59%, 23%)
HSVhsv(249, 74%, 37%)
CMYKcmyk(63.8%, 74.5%, 0%, 63.1%)
CIE-LABlab(14.41, 27.05, -40.09)
CIE-LCHlch(14.41, 48.36, 304.01°)
OKLaboklab(27.38% 0.024 -0.1155)
OKLCHoklch(27.38% 0.118 281.8)
XYZxyz(3.0061, 1.8013, 10.7768)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22185E #545E18
analogous
#18315E #22185E #45185E
triadic
#22185E #5E2218 #185E22
tetradic
#22185E #5E1831 #545E18 #185E45
square
#22185E #5E1831 #545E18 #185E45
split-complementary
#22185E #5E4518 #315E18
monochromatic
#090618 #100C2D #22185E #34248F #4531C0

Accessibility & contrast

On white

15.44
#22185E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22185E
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22185E#FFFFFF#000000##FFFFFF
##22185E1.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002760
Deuteranopia (green-blind)
#00225D
Tritanopia (blue-blind)
#002B39
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #22185e;
/* rgb */ color: rgb(34, 24, 94);
/* oklch */ color: oklch(27.4% 0.118 281.8);
Tailwind
colors: {
  custom: {
    50: '#65568c',
    500: '#22185e',
    950: '#000000',
  },
}
SCSS
$custom: #22185e;
$custom-light: #65568c;
$custom-dark: #000000;
JSON
{
  "hex": "#22185e",
  "rgb": {
    "r": 34,
    "g": 24,
    "b": 94
  },
  "hsl": {
    "h": 248.571,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27378,
    "c": 0.11797,
    "h": 281.8
  },
  "luminance": 0.01802
}

Semantic roles & 50–950 ramp

primary
#22185E
secondary
#88943D
accent
#E345CC
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #22185E

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

Preview Lab → · Contrast checker → · Palette generator →

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