#16157F#16157F

#16157F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.167 H 270.5°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#16157F
RGBrgb(22, 21, 127)
HSLhsl(241, 72%, 29%)
HSVhsv(241, 83%, 50%)
CMYKcmyk(82.7%, 83.5%, 0%, 50.2%)
CIE-LABlab(16.69, 39.00, -57.84)
CIE-LCHlch(16.69, 69.76, 303.99°)
OKLaboklab(29.88% 0.0015 -0.1674)
OKLCHoklch(29.88% 0.167 270.5)
XYZxyz(4.4285, 2.2387, 20.2733)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16157F #7E7F15
analogous
#15497F #16157F #4B157F
triadic
#16157F #7F1615 #157F16
tetradic
#16157F #7F1549 #7E7F15 #157F4B
square
#16157F #7F1549 #7E7F15 #157F4B
split-complementary
#16157F #7F4B15 #497F15
monochromatic
#05041A #0D0C4A #16157F #1F1EB4 #3331DD

Accessibility & contrast

On white

14.50
#16157F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#16157F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16157F
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16157F#FFFFFF#000000##FFFFFF
##16157F1.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00247D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #16157f;
/* rgb */ color: rgb(22, 21, 127);
/* oklch */ color: oklch(29.9% 0.167 270.5);
Tailwind
colors: {
  custom: {
    50: '#6a55a5',
    500: '#16157f',
    950: '#000000',
  },
}
SCSS
$custom: #16157f;
$custom-light: #6a55a5;
$custom-dark: #000000;
JSON
{
  "hex": "#16157f",
  "rgb": {
    "r": 22,
    "g": 21,
    "b": 127
  },
  "hsl": {
    "h": 240.566,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.2988,
    "c": 0.16745,
    "h": 270.5
  },
  "luminance": 0.02239
}

Semantic roles & 50–950 ramp

primary
#16157F
secondary
#B3B43C
accent
#EE39ED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #16157F

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

Preview Lab → · Contrast checker → · Palette generator →

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