#161158#161158

#161158 is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.6% C 0.121 H 275.9°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#161158
RGBrgb(22, 17, 88)
HSLhsl(244, 68%, 21%)
HSVhsv(244, 81%, 35%)
CMYKcmyk(75%, 80.7%, 0%, 65.5%)
CIE-LABlab(11.11, 27.63, -41.52)
CIE-LCHlch(11.11, 49.87, 303.64°)
OKLaboklab(24.56% 0.0124 -0.12)
OKLCHoklch(24.56% 0.121 275.9)
XYZxyz(2.2922, 1.2758, 9.3561)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161158 #535811
analogous
#112F58 #161158 #391158
triadic
#161158 #581611 #115816
tetradic
#161158 #58112F #535811 #115839
square
#161158 #58112F #535811 #115839
split-complementary
#161158 #583911 #2F5811
monochromatic
#06051A #090725 #161158 #231B8B #3025BF

Accessibility & contrast

On white

16.73
#161158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#161158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161158
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161158#FFFFFF#000000##FFFFFF
##1611581.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215A
Deuteranopia (green-blind)
#001B57
Tritanopia (blue-blind)
#002633
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #161158;
/* rgb */ color: rgb(22, 17, 88);
/* oklch */ color: oklch(24.6% 0.121 275.9);
Tailwind
colors: {
  custom: {
    50: '#5f5088',
    500: '#161158',
    950: '#000000',
  },
}
SCSS
$custom: #161158;
$custom-light: #5f5088;
$custom-dark: #000000;
JSON
{
  "hex": "#161158",
  "rgb": {
    "r": 22,
    "g": 17,
    "b": 88
  },
  "hsl": {
    "h": 244.225,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.24561,
    "c": 0.12067,
    "h": 275.9
  },
  "luminance": 0.01276
}

Semantic roles & 50–950 ramp

primary
#161158
secondary
#8A9134
accent
#EA3DDE
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #161158

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

Preview Lab → · Contrast checker → · Palette generator →

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