#16188F#16188F

#16188F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.184 H 269.2°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#16188F
RGBrgb(22, 24, 143)
HSLhsl(239, 73%, 32%)
HSVhsv(239, 85%, 56%)
CMYKcmyk(84.6%, 83.2%, 0%, 43.9%)
CIE-LABlab(19.25, 42.78, -63.66)
CIE-LCHlch(19.25, 76.70, 303.90°)
OKLaboklab(32.24% -0.0026 -0.1844)
OKLCHoklch(32.24% 0.184 269.2)
XYZxyz(5.6137, 2.8063, 26.2271)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16188F #8F8D16
analogous
#16558F #16188F #50168F
triadic
#16188F #8F1618 #188F16
tetradic
#16188F #8F1655 #8F8D16 #168F50
square
#16188F #8F1655 #8F8D16 #168F50
split-complementary
#16188F #8F5016 #558F16
monochromatic
#060625 #0E0F5A #16188F #1E21C4 #3E41E1

Accessibility & contrast

On white

13.45
#16188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#16188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16188F
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16188F#FFFFFF#000000##FFFFFF
##16188F1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003592
Deuteranopia (green-blind)
#00288D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #16188f;
/* rgb */ color: rgb(22, 24, 143);
/* oklch */ color: oklch(32.2% 0.184 269.2);
Tailwind
colors: {
  custom: {
    50: '#6e58b1',
    500: '#16188f',
    950: '#000000',
  },
}
SCSS
$custom: #16188f;
$custom-light: #6e58b1;
$custom-dark: #000000;
JSON
{
  "hex": "#16188f",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 239.008,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32243,
    "c": 0.18438,
    "h": 269.2
  },
  "luminance": 0.02807
}

Semantic roles & 50–950 ramp

primary
#16188F
secondary
#C1BF3F
accent
#ED38F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #16188F

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

Preview Lab → · Contrast checker → · Palette generator →

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