#16157D#16157D

#16157D is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.165 H 270.7°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#16157D
RGBrgb(22, 21, 125)
HSLhsl(241, 71%, 29%)
HSVhsv(241, 83%, 49%)
CMYKcmyk(82.4%, 83.2%, 0%, 51%)
CIE-LABlab(16.44, 38.33, -56.98)
CIE-LCHlch(16.44, 68.67, 303.92°)
OKLaboklab(29.63% 0.002 -0.165)
OKLCHoklch(29.63% 0.165 270.7)
XYZxyz(4.2995, 2.1871, 19.5936)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16157D #7C7D15
analogous
#15487D #16157D #4A157D
triadic
#16157D #7D1615 #157D16
tetradic
#16157D #7D1548 #7C7D15 #157D4A
square
#16157D #7D1548 #7C7D15 #157D4A
split-complementary
#16157D #7D4A15 #487D15
monochromatic
#05041A #0D0C49 #16157D #1F1EB1 #3230DC

Accessibility & contrast

On white

14.61
#16157D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#16157D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16157D
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16157D#FFFFFF#000000##FFFFFF
##16157D1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E80
Deuteranopia (green-blind)
#00237B
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #16157d;
/* rgb */ color: rgb(22, 21, 125);
/* oklch */ color: oklch(29.6% 0.165 270.7);
Tailwind
colors: {
  custom: {
    50: '#6955a4',
    500: '#16157d',
    950: '#000000',
  },
}
SCSS
$custom: #16157d;
$custom-light: #6955a4;
$custom-dark: #000000;
JSON
{
  "hex": "#16157d",
  "rgb": {
    "r": 22,
    "g": 21,
    "b": 125
  },
  "hsl": {
    "h": 240.577,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.2963,
    "c": 0.16498,
    "h": 270.7
  },
  "luminance": 0.02188
}

Semantic roles & 50–950 ramp

primary
#16157D
secondary
#B1B23C
accent
#EE3AEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #16157D

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

Preview Lab → · Contrast checker → · Palette generator →

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