#16175A#16175A

#16175A is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.8% C 0.116 H 274.0°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#16175A
RGBrgb(22, 23, 90)
HSLhsl(239, 61%, 22%)
HSVhsv(239, 76%, 35%)
CMYKcmyk(75.6%, 74.4%, 0%, 64.7%)
CIE-LABlab(12.74, 24.45, -40.18)
CIE-LCHlch(12.74, 47.03, 301.32°)
OKLaboklab(25.8% 0.0081 -0.1161)
OKLCHoklch(25.8% 0.116 274)
XYZxyz(2.4821, 1.5213, 9.8337)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16175A #5A5916
analogous
#16395A #16175A #37165A
triadic
#16175A #5A1617 #175A16
tetradic
#16175A #5A1639 #5A5916 #165A37
square
#16175A #5A1639 #5A5916 #165A37
split-complementary
#16175A #5A3716 #395A16
monochromatic
#060619 #0A0A29 #16175A #22248B #2E30BC

Accessibility & contrast

On white

16.10
#16175A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#16175A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16175A
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16175A#FFFFFF#000000##FFFFFF
##16175A1.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245C
Deuteranopia (green-blind)
#001E59
Tritanopia (blue-blind)
#002936
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #16175a;
/* rgb */ color: rgb(22, 23, 90);
/* oklch */ color: oklch(25.8% 0.116 274.0);
Tailwind
colors: {
  custom: {
    50: '#5f5489',
    500: '#16175a',
    950: '#000000',
  },
}
SCSS
$custom: #16175a;
$custom-light: #5f5489;
$custom-dark: #000000;
JSON
{
  "hex": "#16175a",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 90
  },
  "hsl": {
    "h": 239.118,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.25798,
    "c": 0.1164,
    "h": 274
  },
  "luminance": 0.01522
}

Semantic roles & 50–950 ramp

primary
#16175A
secondary
#91903B
accent
#E144E4
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #16175A

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

Preview Lab → · Contrast checker → · Palette generator →

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