#161558#161558

#161558 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.2% C 0.116 H 274.8°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#161558
RGBrgb(22, 21, 88)
HSLhsl(241, 61%, 21%)
HSVhsv(241, 76%, 35%)
CMYKcmyk(75%, 76.1%, 0%, 65.5%)
CIE-LABlab(12.03, 25.04, -39.99)
CIE-LCHlch(12.03, 47.18, 302.05°)
OKLaboklab(25.22% 0.0098 -0.1156)
OKLCHoklch(25.22% 0.116 274.8)
XYZxyz(2.3599, 1.4113, 9.3787)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161558 #575815
analogous
#153658 #161558 #381558
triadic
#161558 #581615 #155816
tetradic
#161558 #581536 #575815 #155838
square
#161558 #581536 #575815 #155838
split-complementary
#161558 #583815 #365815
monochromatic
#060619 #0A0927 #161558 #222189 #2F2DBB

Accessibility & contrast

On white

16.38
#161558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#161558 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161558
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161558#FFFFFF#000000##FFFFFF
##1615581.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235A
Deuteranopia (green-blind)
#001C57
Tritanopia (blue-blind)
#002834
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #161558;
/* rgb */ color: rgb(22, 21, 88);
/* oklch */ color: oklch(25.2% 0.116 274.8);
Tailwind
colors: {
  custom: {
    50: '#5f5388',
    500: '#161558',
    950: '#000000',
  },
}
SCSS
$custom: #161558;
$custom-light: #5f5388;
$custom-dark: #000000;
JSON
{
  "hex": "#161558",
  "rgb": {
    "r": 22,
    "g": 21,
    "b": 88
  },
  "hsl": {
    "h": 240.896,
    "s": 61.468,
    "l": 21.373
  },
  "oklch": {
    "l": 0.25221,
    "c": 0.116,
    "h": 274.8
  },
  "luminance": 0.01411
}

Semantic roles & 50–950 ramp

primary
#161558
secondary
#8E9039
accent
#E543E2
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #161558

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

Preview Lab → · Contrast checker → · Palette generator →

#161558 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva