#161758#161758

#161758 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.6% C 0.114 H 274.2°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#161758
RGBrgb(22, 23, 88)
HSLhsl(239, 60%, 22%)
HSVhsv(239, 75%, 35%)
CMYKcmyk(75%, 73.9%, 0%, 65.5%)
CIE-LABlab(12.53, 23.68, -39.18)
CIE-LCHlch(12.53, 45.78, 301.15°)
OKLaboklab(25.58% 0.0084 -0.1132)
OKLCHoklch(25.58% 0.114 274.2)
XYZxyz(2.3981, 1.4877, 9.3914)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161758 #585716
analogous
#163858 #161758 #361658
triadic
#161758 #581617 #175816
tetradic
#161758 #581638 #585716 #165836
square
#161758 #581638 #585716 #165836
split-complementary
#161758 #583616 #385816
monochromatic
#060618 #0A0A27 #161758 #222489 #2E31BA

Accessibility & contrast

On white

16.18
#161758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#161758 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161758
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161758#FFFFFF#000000##FFFFFF
##1617581.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245A
Deuteranopia (green-blind)
#001E57
Tritanopia (blue-blind)
#002935
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #161758;
/* rgb */ color: rgb(22, 23, 88);
/* oklch */ color: oklch(25.6% 0.114 274.2);
Tailwind
colors: {
  custom: {
    50: '#5e5488',
    500: '#161758',
    950: '#000000',
  },
}
SCSS
$custom: #161758;
$custom-light: #5e5488;
$custom-dark: #000000;
JSON
{
  "hex": "#161758",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 88
  },
  "hsl": {
    "h": 239.091,
    "s": 60,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25579,
    "c": 0.11352,
    "h": 274.2
  },
  "luminance": 0.01488
}

Semantic roles & 50–950 ramp

primary
#161758
secondary
#8F8E3B
accent
#E145E3
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #161758

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

Preview Lab → · Contrast checker → · Palette generator →

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