#16157E#16157E

#16157E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.166 H 270.6°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#16157E
RGBrgb(22, 21, 126)
HSLhsl(241, 71%, 29%)
HSVhsv(241, 83%, 49%)
CMYKcmyk(82.5%, 83.3%, 0%, 50.6%)
CIE-LABlab(16.57, 38.66, -57.41)
CIE-LCHlch(16.57, 69.22, 303.96°)
OKLaboklab(29.76% 0.0018 -0.1662)
OKLCHoklch(29.76% 0.166 270.6)
XYZxyz(4.3637, 2.2128, 19.9317)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16157E #7D7E15
analogous
#15497E #16157E #4B157E
triadic
#16157E #7E1615 #157E16
tetradic
#16157E #7E1549 #7D7E15 #157E4B
square
#16157E #7E1549 #7D7E15 #157E4B
split-complementary
#16157E #7E4B15 #497E15
monochromatic
#05041A #0D0C4A #16157E #1F1EB2 #3231DD

Accessibility & contrast

On white

14.56
#16157E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16157E
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16157E#FFFFFF#000000##FFFFFF
##16157E1.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00237C
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #16157e;
/* rgb */ color: rgb(22, 21, 126);
/* oklch */ color: oklch(29.8% 0.166 270.6);
Tailwind
colors: {
  custom: {
    50: '#6955a5',
    500: '#16157e',
    950: '#000000',
  },
}
SCSS
$custom: #16157e;
$custom-light: #6955a5;
$custom-dark: #000000;
JSON
{
  "hex": "#16157e",
  "rgb": {
    "r": 22,
    "g": 21,
    "b": 126
  },
  "hsl": {
    "h": 240.571,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.29755,
    "c": 0.16622,
    "h": 270.6
  },
  "luminance": 0.02213
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #16157E

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

Preview Lab → · Contrast checker → · Palette generator →

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