#22165F#22165F

#22165F is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.2% C 0.122 H 282.1°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#22165F
RGBrgb(34, 22, 95)
HSLhsl(250, 62%, 23%)
HSVhsv(250, 77%, 37%)
CMYKcmyk(64.2%, 76.8%, 0%, 62.7%)
CIE-LABlab(14.06, 28.65, -41.33)
CIE-LCHlch(14.06, 50.29, 304.74°)
OKLaboklab(27.16% 0.0256 -0.1191)
OKLCHoklch(27.16% 0.122 282.1)
XYZxyz(3.0115, 1.7399, 11.0014)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22165F #535F16
analogous
#162E5F #22165F #46165F
triadic
#22165F #5F2216 #165F22
tetradic
#22165F #5F162E #535F16 #165F46
square
#22165F #5F162E #535F16 #165F46
split-complementary
#22165F #5F4616 #2E5F16
monochromatic
#090619 #100A2D #22165F #342291 #462DC2

Accessibility & contrast

On white

15.58
#22165F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#22165F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22165F
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22165F#FFFFFF#000000##FFFFFF
##22165F1.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002661
Deuteranopia (green-blind)
#00215E
Tritanopia (blue-blind)
#002A39
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #22165f;
/* rgb */ color: rgb(34, 22, 95);
/* oklch */ color: oklch(27.2% 0.122 282.1);
Tailwind
colors: {
  custom: {
    50: '#66548d',
    500: '#22165f',
    950: '#000000',
  },
}
SCSS
$custom: #22165f;
$custom-light: #66548d;
$custom-dark: #000000;
JSON
{
  "hex": "#22165f",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 95
  },
  "hsl": {
    "h": 249.863,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.2716,
    "c": 0.12183,
    "h": 282.1
  },
  "luminance": 0.0174
}

Semantic roles & 50–950 ramp

primary
#22165F
secondary
#87963B
accent
#E542CB
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #22165F

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

Preview Lab → · Contrast checker → · Palette generator →

#22165F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva