#16187B#16187B

#16187B is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.160 H 270.5°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#16187B
RGBrgb(22, 24, 123)
HSLhsl(239, 70%, 28%)
HSVhsv(239, 82%, 48%)
CMYKcmyk(82.1%, 80.5%, 0%, 51.8%)
CIE-LABlab(16.76, 35.98, -55.17)
CIE-LCHlch(16.76, 65.86, 303.11°)
OKLaboklab(29.79% 0.0015 -0.1598)
OKLCHoklch(29.79% 0.16 270.5)
XYZxyz(4.2314, 2.2534, 18.9470)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16187B #7B7916
analogous
#164A7B #16187B #46167B
triadic
#16187B #7B1618 #187B16
tetradic
#16187B #7B164A #7B7916 #167B46
square
#16187B #7B164A #7B7916 #167B46
split-complementary
#16187B #7B4616 #4A7B16
monochromatic
#05051A #0D0E47 #16187B #1F22AF #3135DA

Accessibility & contrast

On white

14.47
#16187B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#16187B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16187B
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16187B#FFFFFF#000000##FFFFFF
##16187B1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7E
Deuteranopia (green-blind)
#002479
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #16187b;
/* rgb */ color: rgb(22, 24, 123);
/* oklch */ color: oklch(29.8% 0.160 270.5);
Tailwind
colors: {
  custom: {
    50: '#6857a2',
    500: '#16187b',
    950: '#000000',
  },
}
SCSS
$custom: #16187b;
$custom-light: #6857a2;
$custom-dark: #000000;
JSON
{
  "hex": "#16187b",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 123
  },
  "hsl": {
    "h": 238.812,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29786,
    "c": 0.15977,
    "h": 270.5
  },
  "luminance": 0.02254
}

Semantic roles & 50–950 ramp

primary
#16187B
secondary
#B0AE3D
accent
#E93BEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #16187B

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

Preview Lab → · Contrast checker → · Palette generator →

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