#16187E#16187E

#16187E is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.164 H 270.3°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#16187E
RGBrgb(22, 24, 126)
HSLhsl(239, 70%, 29%)
HSVhsv(239, 83%, 49%)
CMYKcmyk(82.5%, 81%, 0%, 50.6%)
CIE-LABlab(17.13, 37.03, -56.48)
CIE-LCHlch(17.13, 67.53, 303.25°)
OKLaboklab(30.15% 0.0009 -0.1635)
OKLCHoklch(30.15% 0.164 270.3)
XYZxyz(4.4221, 2.3297, 19.9512)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16187E #7E7C16
analogous
#164C7E #16187E #48167E
triadic
#16187E #7E1618 #187E16
tetradic
#16187E #7E164C #7E7C16 #167E48
square
#16187E #7E164C #7E7C16 #167E48
split-complementary
#16187E #7E4816 #4C7E16
monochromatic
#05051A #0D0E4A #16187E #1F22B2 #3336DB

Accessibility & contrast

On white

14.32
#16187E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#16187E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16187E
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16187E#FFFFFF#000000##FFFFFF
##16187E1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #16187e;
/* rgb */ color: rgb(22, 24, 126);
/* oklch */ color: oklch(30.1% 0.164 270.3);
Tailwind
colors: {
  custom: {
    50: '#6957a5',
    500: '#16187e',
    950: '#000000',
  },
}
SCSS
$custom: #16187e;
$custom-light: #6957a5;
$custom-dark: #000000;
JSON
{
  "hex": "#16187e",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 126
  },
  "hsl": {
    "h": 238.846,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30149,
    "c": 0.16355,
    "h": 270.3
  },
  "luminance": 0.0233
}

Semantic roles & 50–950 ramp

primary
#16187E
secondary
#B3B13D
accent
#EA3BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #16187E

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

Preview Lab → · Contrast checker → · Palette generator →

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