#16197A#16197A

#16197A is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.158 H 270.5°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#16197A
RGBrgb(22, 25, 122)
HSLhsl(238, 69%, 28%)
HSVhsv(238, 82%, 48%)
CMYKcmyk(82%, 79.5%, 0%, 52.2%)
CIE-LABlab(16.85, 35.05, -54.39)
CIE-LCHlch(16.85, 64.71, 302.80°)
OKLaboklab(29.81% 0.0014 -0.1575)
OKLCHoklch(29.81% 0.158 270.5)
XYZxyz(4.1902, 2.2705, 18.6260)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16197A #7A7716
analogous
#164B7A #16197A #45167A
triadic
#16197A #7A1619 #197A16
tetradic
#16197A #7A164B #7A7716 #167A45
square
#16197A #7A164B #7A7716 #167A45
split-complementary
#16197A #7A4516 #4B7A16
monochromatic
#05051A #0D0E46 #16197A #1F24AE #3136DA

Accessibility & contrast

On white

14.44
#16197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#16197A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16197A
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16197A#FFFFFF#000000##FFFFFF
##16197A1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7D
Deuteranopia (green-blind)
#002478
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #16197a;
/* rgb */ color: rgb(22, 25, 122);
/* oklch */ color: oklch(29.8% 0.158 270.5);
Tailwind
colors: {
  custom: {
    50: '#6857a2',
    500: '#16197a',
    950: '#000000',
  },
}
SCSS
$custom: #16197a;
$custom-light: #6857a2;
$custom-dark: #000000;
JSON
{
  "hex": "#16197a",
  "rgb": {
    "r": 22,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 238.2,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29809,
    "c": 0.15753,
    "h": 270.5
  },
  "luminance": 0.02271
}

Semantic roles & 50–950 ramp

primary
#16197A
secondary
#AFAC3D
accent
#E73CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #16197A

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

Preview Lab → · Contrast checker → · Palette generator →

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