#16198B#16198B

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

Color values

HEX#16198B
RGBrgb(22, 25, 139)
HSLhsl(238, 73%, 32%)
HSVhsv(238, 84%, 55%)
CMYKcmyk(84.2%, 82%, 0%, 45.5%)
CIE-LABlab(18.93, 40.93, -61.71)
CIE-LCHlch(18.93, 74.04, 303.55°)
OKLaboklab(31.87% -0.002 -0.1787)
OKLCHoklch(31.87% 0.179 269.4)
XYZxyz(5.3371, 2.7293, 24.6666)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16198B #8B8816
analogous
#16548B #16198B #4E168B
triadic
#16198B #8B1619 #198B16
tetradic
#16198B #8B1654 #8B8816 #168B4E
square
#16198B #8B1654 #8B8816 #168B4E
split-complementary
#16198B #8B4E16 #548B16
monochromatic
#050621 #0E0F56 #16198B #1E23C0 #3B40E0

Accessibility & contrast

On white

13.58
#16198B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#16198B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16198B
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16198B#FFFFFF#000000##FFFFFF
##16198B1.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #16198b;
/* rgb */ color: rgb(22, 25, 139);
/* oklch */ color: oklch(31.9% 0.179 269.4);
Tailwind
colors: {
  custom: {
    50: '#6c58ae',
    500: '#16198b',
    950: '#000000',
  },
}
SCSS
$custom: #16198b;
$custom-light: #6c58ae;
$custom-dark: #000000;
JSON
{
  "hex": "#16198b",
  "rgb": {
    "r": 22,
    "g": 25,
    "b": 139
  },
  "hsl": {
    "h": 238.462,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31871,
    "c": 0.17872,
    "h": 269.4
  },
  "luminance": 0.0273
}

Semantic roles & 50–950 ramp

primary
#16198B
secondary
#BFBB3E
accent
#EB38EF
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080310
muted
#7B787F

Preview Lab

Preview with #16198B

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

Preview Lab → · Contrast checker → · Palette generator →

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