#16198D#16198D

#16198D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.181 H 269.3°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#16198D
RGBrgb(22, 25, 141)
HSLhsl(238, 73%, 32%)
HSVhsv(238, 84%, 55%)
CMYKcmyk(84.4%, 82.3%, 0%, 44.7%)
CIE-LABlab(19.18, 41.60, -62.54)
CIE-LCHlch(19.18, 75.11, 303.63°)
OKLaboklab(32.12% -0.0024 -0.1811)
OKLCHoklch(32.12% 0.181 269.3)
XYZxyz(5.4846, 2.7883, 25.4433)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16198D #8D8A16
analogous
#16558D #16198D #4E168D
triadic
#16198D #8D1619 #198D16
tetradic
#16198D #8D1655 #8D8A16 #168D4E
square
#16198D #8D1655 #8D8A16 #168D4E
split-complementary
#16198D #8D4E16 #558D16
monochromatic
#050623 #0E1058 #16198D #1E22C2 #3D41E1

Accessibility & contrast

On white

13.48
#16198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#16198D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16198D
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16198D#FFFFFF#000000##FFFFFF
##16198D1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003590
Deuteranopia (green-blind)
#00288B
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #16198d;
/* rgb */ color: rgb(22, 25, 141);
/* oklch */ color: oklch(32.1% 0.181 269.3);
Tailwind
colors: {
  custom: {
    50: '#6d59b0',
    500: '#16198d',
    950: '#000000',
  },
}
SCSS
$custom: #16198d;
$custom-light: #6d59b0;
$custom-dark: #000000;
JSON
{
  "hex": "#16198d",
  "rgb": {
    "r": 22,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 238.487,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32118,
    "c": 0.18115,
    "h": 269.3
  },
  "luminance": 0.02789
}

Semantic roles & 50–950 ramp

primary
#16198D
secondary
#C1BD3E
accent
#EB38F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #16198D

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

Preview Lab → · Contrast checker → · Palette generator →

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