#16186A#16186A

#16186A is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.8% C 0.138 H 272.0°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#16186A
RGBrgb(22, 24, 106)
HSLhsl(239, 66%, 25%)
HSVhsv(239, 79%, 42%)
CMYKcmyk(79.2%, 77.4%, 0%, 58.4%)
CIE-LABlab(14.76, 29.85, -47.48)
CIE-LCHlch(14.76, 56.09, 302.15°)
OKLaboklab(27.77% 0.0048 -0.1374)
OKLCHoklch(27.77% 0.138 272)
XYZxyz(3.2582, 1.8641, 13.8210)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16186A #6A6816
analogous
#16426A #16186A #3E166A
triadic
#16186A #6A1618 #186A16
tetradic
#16186A #6A1642 #6A6816 #166A3E
square
#16186A #6A1642 #6A6816 #166A3E
split-complementary
#16186A #6A3E16 #426A16
monochromatic
#050619 #0B0D37 #16186A #21239D #2B2FCF

Accessibility & contrast

On white

15.30
#16186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#16186A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16186A
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16186A#FFFFFF#000000##FFFFFF
##16186A1.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296C
Deuteranopia (green-blind)
#002169
Tritanopia (blue-blind)
#00303F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #16186a;
/* rgb */ color: rgb(22, 24, 106);
/* oklch */ color: oklch(27.8% 0.138 272.0);
Tailwind
colors: {
  custom: {
    50: '#635696',
    500: '#16186a',
    950: '#000000',
  },
}
SCSS
$custom: #16186a;
$custom-light: #635696;
$custom-dark: #000000;
JSON
{
  "hex": "#16186a",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 238.571,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27774,
    "c": 0.13752,
    "h": 272
  },
  "luminance": 0.01864
}

Semantic roles & 50–950 ramp

primary
#16186A
secondary
#A09E3B
accent
#E53FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #16186A

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

Preview Lab → · Contrast checker → · Palette generator →

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