#16188C#16188C

#16188C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.181 H 269.4°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#16188C
RGBrgb(22, 24, 140)
HSLhsl(239, 73%, 32%)
HSVhsv(239, 84%, 55%)
CMYKcmyk(84.3%, 82.9%, 0%, 45.1%)
CIE-LABlab(18.87, 41.78, -62.42)
CIE-LCHlch(18.87, 75.12, 303.80°)
OKLaboklab(31.87% -0.0019 -0.1808)
OKLCHoklch(31.87% 0.181 269.4)
XYZxyz(5.3895, 2.7166, 25.0462)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16188C #8C8A16
analogous
#16538C #16188C #4F168C
triadic
#16188C #8C1618 #188C16
tetradic
#16188C #8C1653 #8C8A16 #168C4F
square
#16188C #8C1653 #8C8A16 #168C4F
split-complementary
#16188C #8C4F16 #538C16
monochromatic
#050622 #0E0F57 #16188C #1E21C1 #3C3FE0

Accessibility & contrast

On white

13.61
#16188C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#16188C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16188C
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16188C#FFFFFF#000000##FFFFFF
##16188C1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348F
Deuteranopia (green-blind)
#00288A
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #16188c;
/* rgb */ color: rgb(22, 24, 140);
/* oklch */ color: oklch(31.9% 0.181 269.4);
Tailwind
colors: {
  custom: {
    50: '#6d58af',
    500: '#16188c',
    950: '#000000',
  },
}
SCSS
$custom: #16188c;
$custom-light: #6d58af;
$custom-dark: #000000;
JSON
{
  "hex": "#16188c",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 140
  },
  "hsl": {
    "h": 238.983,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3187,
    "c": 0.18077,
    "h": 269.4
  },
  "luminance": 0.02717
}

Semantic roles & 50–950 ramp

primary
#16188C
secondary
#C0BD3E
accent
#EC38F0
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080311
muted
#7B7880

Preview Lab

Preview with #16188C

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

Preview Lab → · Contrast checker → · Palette generator →

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