#16178F#16178F

#16178F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.185 H 269.3°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#16178F
RGBrgb(22, 23, 143)
HSLhsl(240, 73%, 32%)
HSVhsv(240, 85%, 56%)
CMYKcmyk(84.6%, 83.9%, 0%, 43.9%)
CIE-LABlab(19.08, 43.27, -63.95)
CIE-LCHlch(19.08, 77.21, 304.09°)
OKLaboklab(32.12% -0.0024 -0.1851)
OKLCHoklch(32.12% 0.185 269.3)
XYZxyz(5.5935, 2.7659, 26.2203)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16178F #8F8E16
analogous
#16548F #16178F #51168F
triadic
#16178F #8F1617 #178F16
tetradic
#16178F #8F1654 #8F8E16 #168F51
square
#16178F #8F1654 #8F8E16 #168F51
split-complementary
#16178F #8F5116 #548F16
monochromatic
#060625 #0E0E5A #16178F #1E20C4 #3E3FE1

Accessibility & contrast

On white

13.52
#16178F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#16178F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16178F
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16178F#FFFFFF#000000##FFFFFF
##16178F1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#00288D
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #16178f;
/* rgb */ color: rgb(22, 23, 143);
/* oklch */ color: oklch(32.1% 0.185 269.3);
Tailwind
colors: {
  custom: {
    50: '#6e58b1',
    500: '#16178f',
    950: '#000000',
  },
}
SCSS
$custom: #16178f;
$custom-light: #6e58b1;
$custom-dark: #000000;
JSON
{
  "hex": "#16178f",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 143
  },
  "hsl": {
    "h": 239.504,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32124,
    "c": 0.18517,
    "h": 269.3
  },
  "luminance": 0.02767
}

Semantic roles & 50–950 ramp

primary
#16178F
secondary
#C1C03F
accent
#EE38F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #16178F

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

Preview Lab → · Contrast checker → · Palette generator →

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