#16186F#16186F

#16186F is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.4% C 0.144 H 271.5°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#16186F
RGBrgb(22, 24, 111)
HSLhsl(239, 67%, 26%)
HSVhsv(239, 80%, 44%)
CMYKcmyk(80.2%, 78.4%, 0%, 56.5%)
CIE-LABlab(15.34, 31.69, -49.79)
CIE-LCHlch(15.34, 59.02, 302.47°)
OKLaboklab(28.36% 0.0039 -0.1442)
OKLCHoklch(28.36% 0.144 271.5)
XYZxyz(3.5258, 1.9712, 15.2305)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16186F #6F6D16
analogous
#16446F #16186F #40166F
triadic
#16186F #6F1618 #186F16
tetradic
#16186F #6F1644 #6F6D16 #166F40
square
#16186F #6F1644 #6F6D16 #166F40
split-complementary
#16186F #6F4016 #446F16
monochromatic
#05061A #0C0D3C #16186F #2023A2 #2B2ED5

Accessibility & contrast

On white

15.06
#16186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16186F
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16186F#FFFFFF#000000##FFFFFF
##16186F1.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00226D
Tritanopia (blue-blind)
#003242
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #16186f;
/* rgb */ color: rgb(22, 24, 111);
/* oklch */ color: oklch(28.4% 0.144 271.5);
Tailwind
colors: {
  custom: {
    50: '#655699',
    500: '#16186f',
    950: '#000000',
  },
}
SCSS
$custom: #16186f;
$custom-light: #655699;
$custom-dark: #000000;
JSON
{
  "hex": "#16186f",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 238.652,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28356,
    "c": 0.14421,
    "h": 271.5
  },
  "luminance": 0.01972
}

Semantic roles & 50–950 ramp

primary
#16186F
secondary
#A5A33C
accent
#E63EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #16186F

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

Preview Lab → · Contrast checker → · Palette generator →

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