#16187C#16187C

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

Color values

HEX#16187C
RGBrgb(22, 24, 124)
HSLhsl(239, 70%, 29%)
HSVhsv(239, 82%, 49%)
CMYKcmyk(82.3%, 80.6%, 0%, 51.4%)
CIE-LABlab(16.89, 36.33, -55.60)
CIE-LCHlch(16.89, 66.42, 303.16°)
OKLaboklab(29.91% 0.0013 -0.161)
OKLCHoklch(29.91% 0.161 270.5)
XYZxyz(4.2944, 2.2786, 19.2784)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16187C #7C7A16
analogous
#164B7C #16187C #47167C
triadic
#16187C #7C1618 #187C16
tetradic
#16187C #7C164B #7C7A16 #167C47
square
#16187C #7C164B #7C7A16 #167C47
split-complementary
#16187C #7C4716 #4B7C16
monochromatic
#05051A #0D0E48 #16187C #1F22B0 #3235DB

Accessibility & contrast

On white

14.43
#16187C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16187C
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16187C#FFFFFF#000000##FFFFFF
##16187C1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7F
Deuteranopia (green-blind)
#00247A
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #16187c;
/* rgb */ color: rgb(22, 24, 124);
/* oklch */ color: oklch(29.9% 0.161 270.5);
Tailwind
colors: {
  custom: {
    50: '#6857a3',
    500: '#16187c',
    950: '#000000',
  },
}
SCSS
$custom: #16187c;
$custom-light: #6857a3;
$custom-dark: #000000;
JSON
{
  "hex": "#16187c",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 124
  },
  "hsl": {
    "h": 238.824,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.29907,
    "c": 0.16104,
    "h": 270.5
  },
  "luminance": 0.02279
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #16187C

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

Preview Lab → · Contrast checker → · Palette generator →

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