#16157A#16157A

#16157A is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.161 H 270.9°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#16157A
RGBrgb(22, 21, 122)
HSLhsl(241, 71%, 28%)
HSVhsv(241, 83%, 48%)
CMYKcmyk(82%, 82.8%, 0%, 52.2%)
CIE-LABlab(16.06, 37.31, -55.69)
CIE-LCHlch(16.06, 67.03, 303.82°)
OKLaboklab(29.26% 0.0027 -0.1612)
OKLCHoklch(29.26% 0.161 270.9)
XYZxyz(4.1107, 2.1116, 18.5995)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16157A #797A15
analogous
#15467A #16157A #48157A
triadic
#16157A #7A1615 #157A16
tetradic
#16157A #7A1546 #797A15 #157A48
square
#16157A #7A1546 #797A15 #157A48
split-complementary
#16157A #7A4815 #467A15
monochromatic
#05041A #0D0C46 #16157A #1F1EAE #302EDB

Accessibility & contrast

On white

14.76
#16157A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#16157A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16157A
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16157A#FFFFFF#000000##FFFFFF
##16157A1.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7D
Deuteranopia (green-blind)
#002378
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #16157a;
/* rgb */ color: rgb(22, 21, 122);
/* oklch */ color: oklch(29.3% 0.161 270.9);
Tailwind
colors: {
  custom: {
    50: '#6855a2',
    500: '#16157a',
    950: '#000000',
  },
}
SCSS
$custom: #16157a;
$custom-light: #6855a2;
$custom-dark: #000000;
JSON
{
  "hex": "#16157a",
  "rgb": {
    "r": 22,
    "g": 21,
    "b": 122
  },
  "hsl": {
    "h": 240.594,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29258,
    "c": 0.16125,
    "h": 270.9
  },
  "luminance": 0.02112
}

Semantic roles & 50–950 ramp

primary
#16157A
secondary
#AEAF3B
accent
#ED3AEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #16157A

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

Preview Lab → · Contrast checker → · Palette generator →

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