#16186E#16186E

#16186E is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.2% C 0.143 H 271.6°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#16186E
RGBrgb(22, 24, 110)
HSLhsl(239, 67%, 26%)
HSVhsv(239, 80%, 43%)
CMYKcmyk(80%, 78.2%, 0%, 56.9%)
CIE-LABlab(15.22, 31.32, -49.33)
CIE-LCHlch(15.22, 58.44, 302.41°)
OKLaboklab(28.24% 0.0041 -0.1428)
OKLCHoklch(28.24% 0.143 271.6)
XYZxyz(3.4710, 1.9493, 14.9421)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16186E #6E6C16
analogous
#16446E #16186E #40166E
triadic
#16186E #6E1618 #186E16
tetradic
#16186E #6E1644 #6E6C16 #166E40
square
#16186E #6E1644 #6E6C16 #166E40
split-complementary
#16186E #6E4016 #446E16
monochromatic
#05061A #0C0D3B #16186E #2023A1 #2A2ED4

Accessibility & contrast

On white

15.11
#16186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16186E
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16186E#FFFFFF#000000##FFFFFF
##16186E1.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A70
Deuteranopia (green-blind)
#00226C
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #16186e;
/* rgb */ color: rgb(22, 24, 110);
/* oklch */ color: oklch(28.2% 0.143 271.6);
Tailwind
colors: {
  custom: {
    50: '#645699',
    500: '#16186e',
    950: '#000000',
  },
}
SCSS
$custom: #16186e;
$custom-light: #645699;
$custom-dark: #000000;
JSON
{
  "hex": "#16186e",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 238.636,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28239,
    "c": 0.14289,
    "h": 271.6
  },
  "luminance": 0.0195
}

Semantic roles & 50–950 ramp

primary
#16186E
secondary
#A4A23C
accent
#E63EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #16186E

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

Preview Lab → · Contrast checker → · Palette generator →

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