#161957#161957

#161957 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.8% C 0.109 H 273.6°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#161957
RGBrgb(22, 25, 87)
HSLhsl(237, 60%, 21%)
HSVhsv(237, 75%, 34%)
CMYKcmyk(74.7%, 71.3%, 0%, 65.9%)
CIE-LABlab(12.95, 21.89, -37.82)
CIE-LCHlch(12.95, 43.70, 300.06°)
OKLaboklab(25.85% 0.0069 -0.1092)
OKLCHoklch(25.85% 0.109 273.6)
XYZxyz(2.3982, 1.5537, 9.1885)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161957 #575416
analogous
#163A57 #161957 #341657
triadic
#161957 #571619 #195716
tetradic
#161957 #57163A #575416 #165734
square
#161957 #57163A #575416 #165734
split-complementary
#161957 #573416 #3A5716
monochromatic
#060718 #0A0B26 #161957 #222788 #2F35B9

Accessibility & contrast

On white

16.02
#161957 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#161957 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161957
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161957#FFFFFF#000000##FFFFFF
##1619571.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002459
Deuteranopia (green-blind)
#001E56
Tritanopia (blue-blind)
#002935
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #161957;
/* rgb */ color: rgb(22, 25, 87);
/* oklch */ color: oklch(25.8% 0.109 273.6);
Tailwind
colors: {
  custom: {
    50: '#5e5587',
    500: '#161957',
    950: '#000000',
  },
}
SCSS
$custom: #161957;
$custom-light: #5e5587;
$custom-dark: #000000;
JSON
{
  "hex": "#161957",
  "rgb": {
    "r": 22,
    "g": 25,
    "b": 87
  },
  "hsl": {
    "h": 237.231,
    "s": 59.633,
    "l": 21.373
  },
  "oklch": {
    "l": 0.25849,
    "c": 0.10945,
    "h": 273.6
  },
  "luminance": 0.01554
}

Semantic roles & 50–950 ramp

primary
#161957
secondary
#8E8A3A
accent
#DC45E3
background
#F5F5F8
surface
#EAE9EF
border
#C6C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #161957

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

Preview Lab → · Contrast checker → · Palette generator →

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