#161157#161157

#161157 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.4% C 0.119 H 276.1°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#161157
RGBrgb(22, 17, 87)
HSLhsl(244, 67%, 20%)
HSVhsv(244, 80%, 34%)
CMYKcmyk(74.7%, 80.5%, 0%, 65.9%)
CIE-LABlab(10.99, 27.26, -41.04)
CIE-LCHlch(10.99, 49.27, 303.59°)
OKLaboklab(24.44% 0.0127 -0.1186)
OKLCHoklch(24.44% 0.119 276.1)
XYZxyz(2.2511, 1.2594, 9.1394)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161157 #525711
analogous
#112F57 #161157 #391157
triadic
#161157 #571611 #115716
tetradic
#161157 #57112F #525711 #115739
square
#161157 #57112F #525711 #115739
split-complementary
#161157 #573911 #2F5711
monochromatic
#06051A #090724 #161157 #231B8A #3025BD

Accessibility & contrast

On white

16.77
#161157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#161157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161157
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161157#FFFFFF#000000##FFFFFF
##1611571.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002059
Deuteranopia (green-blind)
#001A56
Tritanopia (blue-blind)
#002533
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #161157;
/* rgb */ color: rgb(22, 17, 87);
/* oklch */ color: oklch(24.4% 0.119 276.1);
Tailwind
colors: {
  custom: {
    50: '#5f5087',
    500: '#161157',
    950: '#000000',
  },
}
SCSS
$custom: #161157;
$custom-light: #5f5087;
$custom-dark: #000000;
JSON
{
  "hex": "#161157",
  "rgb": {
    "r": 22,
    "g": 17,
    "b": 87
  },
  "hsl": {
    "h": 244.286,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.24443,
    "c": 0.11928,
    "h": 276.1
  },
  "luminance": 0.0126
}

Semantic roles & 50–950 ramp

primary
#161157
secondary
#899034
accent
#EA3EDE
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #161157

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

Preview Lab → · Contrast checker → · Palette generator →

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