#16197C#16197C

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

Color values

HEX#16197C
RGBrgb(22, 25, 124)
HSLhsl(238, 70%, 29%)
HSVhsv(238, 82%, 49%)
CMYKcmyk(82.3%, 79.8%, 0%, 51.4%)
CIE-LABlab(17.09, 35.76, -55.27)
CIE-LCHlch(17.09, 65.83, 302.90°)
OKLaboklab(30.05% 0.001 -0.1601)
OKLCHoklch(30.05% 0.16 270.4)
XYZxyz(4.3154, 2.3206, 19.2854)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16197C #7C7916
analogous
#164C7C #16197C #46167C
triadic
#16197C #7C1619 #197C16
tetradic
#16197C #7C164C #7C7916 #167C46
square
#16197C #7C164C #7C7916 #167C46
split-complementary
#16197C #7C4616 #4C7C16
monochromatic
#05051A #0D0F48 #16197C #1F23B0 #3237DB

Accessibility & contrast

On white

14.34
#16197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16197C
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16197C#FFFFFF#000000##FFFFFF
##16197C1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #16197c;
/* rgb */ color: rgb(22, 25, 124);
/* oklch */ color: oklch(30.0% 0.160 270.4);
Tailwind
colors: {
  custom: {
    50: '#6857a3',
    500: '#16197c',
    950: '#000000',
  },
}
SCSS
$custom: #16197c;
$custom-light: #6857a3;
$custom-dark: #000000;
JSON
{
  "hex": "#16197c",
  "rgb": {
    "r": 22,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 238.235,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30048,
    "c": 0.16008,
    "h": 270.4
  },
  "luminance": 0.02321
}

Semantic roles & 50–950 ramp

primary
#16197C
secondary
#B1AE3D
accent
#E73BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #16197C

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

Preview Lab → · Contrast checker → · Palette generator →

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