#16197E#16197E

#16197E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.163 H 270.2°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#16197E
RGBrgb(22, 25, 126)
HSLhsl(238, 70%, 29%)
HSVhsv(238, 83%, 49%)
CMYKcmyk(82.5%, 80.2%, 0%, 50.6%)
CIE-LABlab(17.33, 36.46, -56.15)
CIE-LCHlch(17.33, 66.95, 303.00°)
OKLaboklab(30.29% 0.0006 -0.1626)
OKLCHoklch(30.29% 0.163 270.2)
XYZxyz(4.4431, 2.3717, 19.9582)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16197E #7E7B16
analogous
#164D7E #16197E #47167E
triadic
#16197E #7E1619 #197E16
tetradic
#16197E #7E164D #7E7B16 #167E47
square
#16197E #7E164D #7E7B16 #167E47
split-complementary
#16197E #7E4716 #4D7E16
monochromatic
#05051A #0D0F4A #16197E #1F23B2 #3338DB

Accessibility & contrast

On white

14.24
#16197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16197E
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16197E#FFFFFF#000000##FFFFFF
##16197E1.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#00257C
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #16197e;
/* rgb */ color: rgb(22, 25, 126);
/* oklch */ color: oklch(30.3% 0.163 270.2);
Tailwind
colors: {
  custom: {
    50: '#6957a5',
    500: '#16197e',
    950: '#000000',
  },
}
SCSS
$custom: #16197e;
$custom-light: #6957a5;
$custom-dark: #000000;
JSON
{
  "hex": "#16197e",
  "rgb": {
    "r": 22,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 238.269,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30288,
    "c": 0.16262,
    "h": 270.2
  },
  "luminance": 0.02372
}

Semantic roles & 50–950 ramp

primary
#16197E
secondary
#B3AF3D
accent
#E83BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #16197E

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

Preview Lab → · Contrast checker → · Palette generator →

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