#16197B#16197B

#16197B is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.159 H 270.4°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#16197B
RGBrgb(22, 25, 123)
HSLhsl(238, 70%, 28%)
HSVhsv(238, 82%, 48%)
CMYKcmyk(82.1%, 79.7%, 0%, 51.8%)
CIE-LABlab(16.97, 35.40, -54.83)
CIE-LCHlch(16.97, 65.27, 302.85°)
OKLaboklab(29.93% 0.0012 -0.1588)
OKLCHoklch(29.93% 0.159 270.4)
XYZxyz(4.2524, 2.2954, 18.9540)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16197B #7B7816
analogous
#164B7B #16197B #45167B
triadic
#16197B #7B1619 #197B16
tetradic
#16197B #7B164B #7B7816 #167B45
square
#16197B #7B164B #7B7816 #167B45
split-complementary
#16197B #7B4516 #4B7B16
monochromatic
#05051A #0D0E47 #16197B #1F24AF #3136DA

Accessibility & contrast

On white

14.39
#16197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#16197B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16197B
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16197B#FFFFFF#000000##FFFFFF
##16197B1.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7E
Deuteranopia (green-blind)
#002579
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #16197b;
/* rgb */ color: rgb(22, 25, 123);
/* oklch */ color: oklch(29.9% 0.159 270.4);
Tailwind
colors: {
  custom: {
    50: '#6857a2',
    500: '#16197b',
    950: '#000000',
  },
}
SCSS
$custom: #16197b;
$custom-light: #6857a2;
$custom-dark: #000000;
JSON
{
  "hex": "#16197b",
  "rgb": {
    "r": 22,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 238.218,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29928,
    "c": 0.1588,
    "h": 270.4
  },
  "luminance": 0.02296
}

Semantic roles & 50–950 ramp

primary
#16197B
secondary
#B0AD3D
accent
#E73BEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #16197B

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

Preview Lab → · Contrast checker → · Palette generator →

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