#16175D#16175D

#16175D is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.1% C 0.121 H 273.6°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#16175D
RGBrgb(22, 23, 93)
HSLhsl(239, 62%, 23%)
HSVhsv(239, 76%, 36%)
CMYKcmyk(76.3%, 75.3%, 0%, 63.5%)
CIE-LABlab(13.07, 25.60, -41.66)
CIE-LCHlch(13.07, 48.90, 301.58°)
OKLaboklab(26.13% 0.0076 -0.1204)
OKLCHoklch(26.13% 0.121 273.6)
XYZxyz(2.6124, 1.5734, 10.5198)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16175D #5D5C16
analogous
#163A5D #16175D #39165D
triadic
#16175D #5D1617 #175D16
tetradic
#16175D #5D163A #5D5C16 #165D39
square
#16175D #5D163A #5D5C16 #165D39
split-complementary
#16175D #5D3916 #3A5D16
monochromatic
#060619 #0A0B2C #16175D #22238E #2D2FC0

Accessibility & contrast

On white

15.97
#16175D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16175D
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16175D#FFFFFF#000000##FFFFFF
##16175D1.0015.971.3115.97
#FFFFFF15.971.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255F
Deuteranopia (green-blind)
#001E5C
Tritanopia (blue-blind)
#002A38
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #16175d;
/* rgb */ color: rgb(22, 23, 93);
/* oklch */ color: oklch(26.1% 0.121 273.6);
Tailwind
colors: {
  custom: {
    50: '#60548c',
    500: '#16175d',
    950: '#000000',
  },
}
SCSS
$custom: #16175d;
$custom-light: #60548c;
$custom-dark: #000000;
JSON
{
  "hex": "#16175d",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 93
  },
  "hsl": {
    "h": 239.155,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26129,
    "c": 0.12069,
    "h": 273.6
  },
  "luminance": 0.01574
}

Semantic roles & 50–950 ramp

primary
#16175D
secondary
#94933B
accent
#E343E5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #16175D

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

Preview Lab → · Contrast checker → · Palette generator →

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