#16175E#16175E

#16175E is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.2% C 0.122 H 273.5°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#16175E
RGBrgb(22, 23, 94)
HSLhsl(239, 62%, 23%)
HSVhsv(239, 77%, 37%)
CMYKcmyk(76.6%, 75.5%, 0%, 63.1%)
CIE-LABlab(13.18, 25.98, -42.14)
CIE-LCHlch(13.18, 49.51, 301.66°)
OKLaboklab(26.24% 0.0074 -0.1219)
OKLCHoklch(26.24% 0.122 273.5)
XYZxyz(2.6570, 1.5913, 10.7546)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16175E #5E5D16
analogous
#163B5E #16175E #39165E
triadic
#16175E #5E1617 #175E16
tetradic
#16175E #5E163B #5E5D16 #165E39
square
#16175E #5E163B #5E5D16 #165E39
split-complementary
#16175E #5E3916 #3B5E16
monochromatic
#060619 #0A0B2C #16175E #222390 #2D2FC1

Accessibility & contrast

On white

15.93
#16175E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16175E
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16175E#FFFFFF#000000##FFFFFF
##16175E1.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002560
Deuteranopia (green-blind)
#001E5D
Tritanopia (blue-blind)
#002B38
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #16175e;
/* rgb */ color: rgb(22, 23, 94);
/* oklch */ color: oklch(26.2% 0.122 273.5);
Tailwind
colors: {
  custom: {
    50: '#60548c',
    500: '#16175e',
    950: '#000000',
  },
}
SCSS
$custom: #16175e;
$custom-light: #60548c;
$custom-dark: #000000;
JSON
{
  "hex": "#16175e",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 94
  },
  "hsl": {
    "h": 239.167,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26241,
    "c": 0.12211,
    "h": 273.5
  },
  "luminance": 0.01592
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #16175E

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

Preview Lab → · Contrast checker → · Palette generator →

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