#161958#161958

#161958 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.0% C 0.111 H 273.5°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#161958
RGBrgb(22, 25, 88)
HSLhsl(237, 60%, 22%)
HSVhsv(237, 75%, 35%)
CMYKcmyk(75%, 71.6%, 0%, 65.5%)
CIE-LABlab(13.05, 22.28, -38.33)
CIE-LCHlch(13.05, 44.33, 300.17°)
OKLaboklab(25.95% 0.0068 -0.1107)
OKLCHoklch(25.95% 0.111 273.5)
XYZxyz(2.4394, 1.5702, 9.4051)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161958 #585516
analogous
#163A58 #161958 #341658
triadic
#161958 #581619 #195816
tetradic
#161958 #58163A #585516 #165834
square
#161958 #58163A #585516 #165834
split-complementary
#161958 #583416 #3A5816
monochromatic
#060718 #0A0B27 #161958 #222789 #2E35BA

Accessibility & contrast

On white

15.98
#161958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161958
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161958#FFFFFF#000000##FFFFFF
##1619581.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255A
Deuteranopia (green-blind)
#001F57
Tritanopia (blue-blind)
#002A36
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #161958;
/* rgb */ color: rgb(22, 25, 88);
/* oklch */ color: oklch(26.0% 0.111 273.5);
Tailwind
colors: {
  custom: {
    50: '#5e5688',
    500: '#161958',
    950: '#000000',
  },
}
SCSS
$custom: #161958;
$custom-light: #5e5688;
$custom-dark: #000000;
JSON
{
  "hex": "#161958",
  "rgb": {
    "r": 22,
    "g": 25,
    "b": 88
  },
  "hsl": {
    "h": 237.273,
    "s": 60,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25954,
    "c": 0.11093,
    "h": 273.5
  },
  "luminance": 0.0157
}

Semantic roles & 50–950 ramp

primary
#161958
secondary
#8F8B3B
accent
#DC45E3
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #161958

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

Preview Lab → · Contrast checker → · Palette generator →

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