#16175F#16175F

#16175F is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.4% C 0.124 H 273.4°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#16175F
RGBrgb(22, 23, 95)
HSLhsl(239, 62%, 23%)
HSVhsv(239, 77%, 37%)
CMYKcmyk(76.8%, 75.8%, 0%, 62.7%)
CIE-LABlab(13.29, 26.37, -42.63)
CIE-LCHlch(13.29, 50.13, 301.73°)
OKLaboklab(26.35% 0.0073 -0.1233)
OKLCHoklch(26.35% 0.124 273.4)
XYZxyz(2.7021, 1.6093, 10.9925)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16175F #5F5E16
analogous
#163B5F #16175F #39165F
triadic
#16175F #5F1617 #175F16
tetradic
#16175F #5F163B #5F5E16 #165F39
square
#16175F #5F163B #5F5E16 #165F39
split-complementary
#16175F #5F3916 #3B5F16
monochromatic
#060619 #0A0B2D #16175F #222391 #2D2FC2

Accessibility & contrast

On white

15.89
#16175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#16175F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16175F
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16175F#FFFFFF#000000##FFFFFF
##16175F1.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002661
Deuteranopia (green-blind)
#001F5E
Tritanopia (blue-blind)
#002B39
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #16175f;
/* rgb */ color: rgb(22, 23, 95);
/* oklch */ color: oklch(26.4% 0.124 273.4);
Tailwind
colors: {
  custom: {
    50: '#60548d',
    500: '#16175f',
    950: '#000000',
  },
}
SCSS
$custom: #16175f;
$custom-light: #60548d;
$custom-dark: #000000;
JSON
{
  "hex": "#16175f",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 239.178,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26353,
    "c": 0.12351,
    "h": 273.4
  },
  "luminance": 0.0161
}

Semantic roles & 50–950 ramp

primary
#16175F
secondary
#96953B
accent
#E342E5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #16175F

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

Preview Lab → · Contrast checker → · Palette generator →

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