#16186C#16186C

#16186C is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.140 H 271.8°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#16186C
RGBrgb(22, 24, 108)
HSLhsl(239, 66%, 25%)
HSVhsv(239, 80%, 42%)
CMYKcmyk(79.6%, 77.8%, 0%, 57.6%)
CIE-LABlab(14.99, 30.59, -48.41)
CIE-LCHlch(14.99, 57.27, 302.29°)
OKLaboklab(28.01% 0.0044 -0.1401)
OKLCHoklch(28.01% 0.14 271.8)
XYZxyz(3.3634, 1.9062, 14.3751)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16186C #6C6A16
analogous
#16436C #16186C #3F166C
triadic
#16186C #6C1618 #186C16
tetradic
#16186C #6C1643 #6C6A16 #166C3F
square
#16186C #6C1643 #6C6A16 #166C3F
split-complementary
#16186C #6C3F16 #436C16
monochromatic
#050619 #0C0D39 #16186C #20239F #2B2FD2

Accessibility & contrast

On white

15.20
#16186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#16186C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16186C
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16186C#FFFFFF#000000##FFFFFF
##16186C1.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6E
Deuteranopia (green-blind)
#00216B
Tritanopia (blue-blind)
#003040
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #16186c;
/* rgb */ color: rgb(22, 24, 108);
/* oklch */ color: oklch(28.0% 0.140 271.8);
Tailwind
colors: {
  custom: {
    50: '#645697',
    500: '#16186c',
    950: '#000000',
  },
}
SCSS
$custom: #16186c;
$custom-light: #645697;
$custom-dark: #000000;
JSON
{
  "hex": "#16186c",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 238.605,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28006,
    "c": 0.14021,
    "h": 271.8
  },
  "luminance": 0.01907
}

Semantic roles & 50–950 ramp

primary
#16186C
secondary
#A2A03C
accent
#E53FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #16186C

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

Preview Lab → · Contrast checker → · Palette generator →

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