#16187A#16187A

#16187A is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.158 H 270.6°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#16187A
RGBrgb(22, 24, 122)
HSLhsl(239, 69%, 28%)
HSVhsv(239, 82%, 48%)
CMYKcmyk(82%, 80.3%, 0%, 52.2%)
CIE-LABlab(16.64, 35.63, -54.73)
CIE-LCHlch(16.64, 65.31, 303.07°)
OKLaboklab(29.67% 0.0017 -0.1585)
OKLCHoklch(29.67% 0.158 270.6)
XYZxyz(4.1692, 2.2285, 18.6190)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16187A #7A7816
analogous
#164A7A #16187A #46167A
triadic
#16187A #7A1618 #187A16
tetradic
#16187A #7A164A #7A7816 #167A46
square
#16187A #7A164A #7A7816 #167A46
split-complementary
#16187A #7A4616 #4A7A16
monochromatic
#05051A #0D0E46 #16187A #1F22AE #3134DA

Accessibility & contrast

On white

14.52
#16187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16187A
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16187A#FFFFFF#000000##FFFFFF
##16187A1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7D
Deuteranopia (green-blind)
#002478
Tritanopia (blue-blind)
#003648
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #16187a;
/* rgb */ color: rgb(22, 24, 122);
/* oklch */ color: oklch(29.7% 0.158 270.6);
Tailwind
colors: {
  custom: {
    50: '#6857a2',
    500: '#16187a',
    950: '#000000',
  },
}
SCSS
$custom: #16187a;
$custom-light: #6857a2;
$custom-dark: #000000;
JSON
{
  "hex": "#16187a",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 238.8,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29665,
    "c": 0.15849,
    "h": 270.6
  },
  "luminance": 0.02229
}

Semantic roles & 50–950 ramp

primary
#16187A
secondary
#AFAD3D
accent
#E93CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #16187A

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

Preview Lab → · Contrast checker → · Palette generator →

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