#16186D#16186D

#16186D is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.142 H 271.7°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#16186D
RGBrgb(22, 24, 109)
HSLhsl(239, 66%, 26%)
HSVhsv(239, 80%, 43%)
CMYKcmyk(79.8%, 78%, 0%, 57.3%)
CIE-LABlab(15.10, 30.96, -48.88)
CIE-LCHlch(15.10, 57.85, 302.35°)
OKLaboklab(28.12% 0.0042 -0.1415)
OKLCHoklch(28.12% 0.142 271.7)
XYZxyz(3.4169, 1.9276, 14.6570)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16186D #6D6B16
analogous
#16436D #16186D #3F166D
triadic
#16186D #6D1618 #186D16
tetradic
#16186D #6D1643 #6D6B16 #166D3F
square
#16186D #6D1643 #6D6B16 #166D3F
split-complementary
#16186D #6D3F16 #436D16
monochromatic
#050619 #0C0D3A #16186D #2023A0 #2B2ED3

Accessibility & contrast

On white

15.16
#16186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#16186D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16186D
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16186D#FFFFFF#000000##FFFFFF
##16186D1.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6F
Deuteranopia (green-blind)
#00226B
Tritanopia (blue-blind)
#003141
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #16186d;
/* rgb */ color: rgb(22, 24, 109);
/* oklch */ color: oklch(28.1% 0.142 271.7);
Tailwind
colors: {
  custom: {
    50: '#645698',
    500: '#16186d',
    950: '#000000',
  },
}
SCSS
$custom: #16186d;
$custom-light: #645698;
$custom-dark: #000000;
JSON
{
  "hex": "#16186d",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 238.621,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28122,
    "c": 0.14155,
    "h": 271.7
  },
  "luminance": 0.01928
}

Semantic roles & 50–950 ramp

primary
#16186D
secondary
#A3A13C
accent
#E53EE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #16186D

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

Preview Lab → · Contrast checker → · Palette generator →

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