#16197F#16197F

#16197F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.164 H 270.1°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#16197F
RGBrgb(22, 25, 127)
HSLhsl(238, 70%, 29%)
HSVhsv(238, 83%, 50%)
CMYKcmyk(82.7%, 80.3%, 0%, 50.2%)
CIE-LABlab(17.45, 36.81, -56.58)
CIE-LCHlch(17.45, 67.50, 303.05°)
OKLaboklab(30.41% 0.0004 -0.1639)
OKLCHoklch(30.41% 0.164 270.1)
XYZxyz(4.5080, 2.3976, 20.2998)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16197F #7F7C16
analogous
#164E7F #16197F #48167F
triadic
#16197F #7F1619 #197F16
tetradic
#16197F #7F164E #7F7C16 #167F48
square
#16197F #7F164E #7F7C16 #167F48
split-complementary
#16197F #7F4816 #4E7F16
monochromatic
#05051A #0D0F4B #16197F #1F23B3 #3438DC

Accessibility & contrast

On white

14.19
#16197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#16197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16197F
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16197F#FFFFFF#000000##FFFFFF
##16197F1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #16197f;
/* rgb */ color: rgb(22, 25, 127);
/* oklch */ color: oklch(30.4% 0.164 270.1);
Tailwind
colors: {
  custom: {
    50: '#6958a5',
    500: '#16197f',
    950: '#000000',
  },
}
SCSS
$custom: #16197f;
$custom-light: #6958a5;
$custom-dark: #000000;
JSON
{
  "hex": "#16197f",
  "rgb": {
    "r": 22,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 238.286,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30409,
    "c": 0.16388,
    "h": 270.1
  },
  "luminance": 0.02398
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #16197F

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

Preview Lab → · Contrast checker → · Palette generator →

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