#16175C#16175C

#16175C is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.0% C 0.119 H 273.7°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#16175C
RGBrgb(22, 23, 92)
HSLhsl(239, 61%, 22%)
HSVhsv(239, 76%, 36%)
CMYKcmyk(76.1%, 75%, 0%, 63.9%)
CIE-LABlab(12.96, 25.22, -41.17)
CIE-LCHlch(12.96, 48.28, 301.49°)
OKLaboklab(26.02% 0.0078 -0.119)
OKLCHoklch(26.02% 0.119 273.7)
XYZxyz(2.5684, 1.5558, 10.2881)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16175C #5C5B16
analogous
#163A5C #16175C #38165C
triadic
#16175C #5C1617 #175C16
tetradic
#16175C #5C163A #5C5B16 #165C38
square
#16175C #5C163A #5C5B16 #165C38
split-complementary
#16175C #5C3816 #3A5C16
monochromatic
#060619 #0A0B2B #16175C #22238D #2E30BF

Accessibility & contrast

On white

16.02
#16175C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16175C
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16175C#FFFFFF#000000##FFFFFF
##16175C1.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255E
Deuteranopia (green-blind)
#001E5B
Tritanopia (blue-blind)
#002A37
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #16175c;
/* rgb */ color: rgb(22, 23, 92);
/* oklch */ color: oklch(26.0% 0.119 273.7);
Tailwind
colors: {
  custom: {
    50: '#5f548b',
    500: '#16175c',
    950: '#000000',
  },
}
SCSS
$custom: #16175c;
$custom-light: #5f548b;
$custom-dark: #000000;
JSON
{
  "hex": "#16175c",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 92
  },
  "hsl": {
    "h": 239.143,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26018,
    "c": 0.11926,
    "h": 273.7
  },
  "luminance": 0.01556
}

Semantic roles & 50–950 ramp

primary
#16175C
secondary
#93923B
accent
#E243E5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #16175C

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

Preview Lab → · Contrast checker → · Palette generator →

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