#16197D#16197D

#16197D is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.2% C 0.161 H 270.3°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#16197D
RGBrgb(22, 25, 125)
HSLhsl(238, 70%, 29%)
HSVhsv(238, 82%, 49%)
CMYKcmyk(82.4%, 80%, 0%, 51%)
CIE-LABlab(17.21, 36.11, -55.71)
CIE-LCHlch(17.21, 66.39, 302.95°)
OKLaboklab(30.17% 0.0008 -0.1613)
OKLCHoklch(30.17% 0.161 270.3)
XYZxyz(4.3789, 2.3460, 19.6201)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16197D #7D7A16
analogous
#164D7D #16197D #47167D
triadic
#16197D #7D1619 #197D16
tetradic
#16197D #7D164D #7D7A16 #167D47
square
#16197D #7D164D #7D7A16 #167D47
split-complementary
#16197D #7D4716 #4D7D16
monochromatic
#05051A #0D0F49 #16197D #1F23B1 #3237DB

Accessibility & contrast

On white

14.29
#16197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#16197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16197D
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16197D#FFFFFF#000000##FFFFFF
##16197D1.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F80
Deuteranopia (green-blind)
#00257B
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #16197d;
/* rgb */ color: rgb(22, 25, 125);
/* oklch */ color: oklch(30.2% 0.161 270.3);
Tailwind
colors: {
  custom: {
    50: '#6957a4',
    500: '#16197d',
    950: '#000000',
  },
}
SCSS
$custom: #16197d;
$custom-light: #6957a4;
$custom-dark: #000000;
JSON
{
  "hex": "#16197d",
  "rgb": {
    "r": 22,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 238.252,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30168,
    "c": 0.16135,
    "h": 270.3
  },
  "luminance": 0.02347
}

Semantic roles & 50–950 ramp

primary
#16197D
secondary
#B2AF3D
accent
#E83BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #16197D

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

Preview Lab → · Contrast checker → · Palette generator →

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