#161657#161657

#161657 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.3% C 0.113 H 274.7°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#161657
RGBrgb(22, 22, 87)
HSLhsl(240, 60%, 21%)
HSVhsv(240, 75%, 34%)
CMYKcmyk(74.7%, 74.7%, 0%, 65.9%)
CIE-LABlab(12.17, 23.98, -39.09)
CIE-LCHlch(12.17, 45.86, 301.52°)
OKLaboklab(25.29% 0.0092 -0.1129)
OKLCHoklch(25.29% 0.113 274.7)
XYZxyz(2.3375, 1.4323, 9.1682)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161657 #575716
analogous
#163757 #161657 #371657
triadic
#161657 #571616 #165716
tetradic
#161657 #571637 #575716 #165737
square
#161657 #571637 #575716 #165737
split-complementary
#161657 #573716 #375716
monochromatic
#060618 #0A0A26 #161657 #222288 #2F2FB9

Accessibility & contrast

On white

16.32
#161657 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#161657 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161657
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161657#FFFFFF#000000##FFFFFF
##1616571.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002359
Deuteranopia (green-blind)
#001D56
Tritanopia (blue-blind)
#002834
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #161657;
/* rgb */ color: rgb(22, 22, 87);
/* oklch */ color: oklch(25.3% 0.113 274.7);
Tailwind
colors: {
  custom: {
    50: '#5e5387',
    500: '#161657',
    950: '#000000',
  },
}
SCSS
$custom: #161657;
$custom-light: #5e5387;
$custom-dark: #000000;
JSON
{
  "hex": "#161657",
  "rgb": {
    "r": 22,
    "g": 22,
    "b": 87
  },
  "hsl": {
    "h": 240,
    "s": 59.633,
    "l": 21.373
  },
  "oklch": {
    "l": 0.25288,
    "c": 0.11333,
    "h": 274.7
  },
  "luminance": 0.01433
}

Semantic roles & 50–950 ramp

primary
#161657
secondary
#8E8E3A
accent
#E345E3
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #161657

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

Preview Lab → · Contrast checker → · Palette generator →

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