#16188B#16188B

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

Color values

HEX#16188B
RGBrgb(22, 24, 139)
HSLhsl(239, 73%, 32%)
HSVhsv(239, 84%, 55%)
CMYKcmyk(84.2%, 82.7%, 0%, 45.5%)
CIE-LABlab(18.75, 41.45, -62.00)
CIE-LCHlch(18.75, 74.58, 303.76°)
OKLaboklab(31.75% -0.0017 -0.1796)
OKLCHoklch(31.75% 0.18 269.4)
XYZxyz(5.3161, 2.6873, 24.6596)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16188B #8B8916
analogous
#16538B #16188B #4F168B
triadic
#16188B #8B1618 #188B16
tetradic
#16188B #8B1653 #8B8916 #168B4F
square
#16188B #8B1653 #8B8916 #168B4F
split-complementary
#16188B #8B4F16 #538B16
monochromatic
#050621 #0E0F56 #16188B #1E21C0 #3B3EE0

Accessibility & contrast

On white

13.66
#16188B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16188B
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16188B#FFFFFF#000000##FFFFFF
##16188B1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338E
Deuteranopia (green-blind)
#002789
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #16188b;
/* rgb */ color: rgb(22, 24, 139);
/* oklch */ color: oklch(31.7% 0.180 269.4);
Tailwind
colors: {
  custom: {
    50: '#6d58ae',
    500: '#16188b',
    950: '#000000',
  },
}
SCSS
$custom: #16188b;
$custom-light: #6d58ae;
$custom-dark: #000000;
JSON
{
  "hex": "#16188b",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 139
  },
  "hsl": {
    "h": 238.974,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31746,
    "c": 0.17957,
    "h": 269.4
  },
  "luminance": 0.02688
}

Semantic roles & 50–950 ramp

primary
#16188B
secondary
#BFBD3E
accent
#EC38EF
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080310
muted
#7B787F

Preview Lab

Preview with #16188B

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

Preview Lab → · Contrast checker → · Palette generator →

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