#16187D#16187D

#16187D is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.162 H 270.4°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#16187D
RGBrgb(22, 24, 125)
HSLhsl(239, 70%, 29%)
HSVhsv(239, 82%, 49%)
CMYKcmyk(82.4%, 80.8%, 0%, 51%)
CIE-LABlab(17.01, 36.68, -56.04)
CIE-LCHlch(17.01, 66.98, 303.21°)
OKLaboklab(30.03% 0.0011 -0.1623)
OKLCHoklch(30.03% 0.162 270.4)
XYZxyz(4.3579, 2.3040, 19.6131)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16187D #7D7B16
analogous
#164C7D #16187D #48167D
triadic
#16187D #7D1618 #187D16
tetradic
#16187D #7D164C #7D7B16 #167D48
square
#16187D #7D164C #7D7B16 #167D48
split-complementary
#16187D #7D4816 #4C7D16
monochromatic
#05051A #0D0E49 #16187D #1F22B1 #3236DB

Accessibility & contrast

On white

14.37
#16187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#16187D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16187D
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16187D#FFFFFF#000000##FFFFFF
##16187D1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F80
Deuteranopia (green-blind)
#00257B
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #16187d;
/* rgb */ color: rgb(22, 24, 125);
/* oklch */ color: oklch(30.0% 0.162 270.4);
Tailwind
colors: {
  custom: {
    50: '#6957a4',
    500: '#16187d',
    950: '#000000',
  },
}
SCSS
$custom: #16187d;
$custom-light: #6957a4;
$custom-dark: #000000;
JSON
{
  "hex": "#16187d",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 238.835,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30028,
    "c": 0.16229,
    "h": 270.4
  },
  "luminance": 0.02305
}

Semantic roles & 50–950 ramp

primary
#16187D
secondary
#B2B03D
accent
#E93BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #16187D

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

Preview Lab → · Contrast checker → · Palette generator →

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