#16175B#16175B

#16175B is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.9% C 0.118 H 273.8°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#16175B
RGBrgb(22, 23, 91)
HSLhsl(239, 61%, 22%)
HSVhsv(239, 76%, 36%)
CMYKcmyk(75.8%, 74.7%, 0%, 64.3%)
CIE-LABlab(12.85, 24.83, -40.67)
CIE-LCHlch(12.85, 47.65, 301.41°)
OKLaboklab(25.91% 0.0079 -0.1176)
OKLCHoklch(25.91% 0.118 273.8)
XYZxyz(2.5250, 1.5385, 10.0594)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16175B #5B5A16
analogous
#163A5B #16175B #37165B
triadic
#16175B #5B1617 #175B16
tetradic
#16175B #5B163A #5B5A16 #165B37
square
#16175B #5B163A #5B5A16 #165B37
split-complementary
#16175B #5B3716 #3A5B16
monochromatic
#060619 #0A0B2A #16175B #22238C #2E30BE

Accessibility & contrast

On white

16.06
#16175B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#16175B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16175B
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16175B#FFFFFF#000000##FFFFFF
##16175B1.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245D
Deuteranopia (green-blind)
#001E5A
Tritanopia (blue-blind)
#002A37
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #16175b;
/* rgb */ color: rgb(22, 23, 91);
/* oklch */ color: oklch(25.9% 0.118 273.8);
Tailwind
colors: {
  custom: {
    50: '#5f548a',
    500: '#16175b',
    950: '#000000',
  },
}
SCSS
$custom: #16175b;
$custom-light: #5f548a;
$custom-dark: #000000;
JSON
{
  "hex": "#16175b",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 91
  },
  "hsl": {
    "h": 239.13,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.25908,
    "c": 0.11784,
    "h": 273.8
  },
  "luminance": 0.01539
}

Semantic roles & 50–950 ramp

primary
#16175B
secondary
#92913B
accent
#E244E4
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #16175B

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

Preview Lab → · Contrast checker → · Palette generator →

#16175B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva