#16157B#16157B

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

Color values

HEX#16157B
RGBrgb(22, 21, 123)
HSLhsl(241, 71%, 28%)
HSVhsv(241, 83%, 48%)
CMYKcmyk(82.1%, 82.9%, 0%, 51.8%)
CIE-LABlab(16.19, 37.65, -56.12)
CIE-LCHlch(16.19, 67.58, 303.85°)
OKLaboklab(29.38% 0.0024 -0.1625)
OKLCHoklch(29.38% 0.163 270.9)
XYZxyz(4.1730, 2.1365, 18.9275)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16157B #7A7B15
analogous
#15477B #16157B #49157B
triadic
#16157B #7B1615 #157B16
tetradic
#16157B #7B1547 #7A7B15 #157B49
square
#16157B #7B1547 #7A7B15 #157B49
split-complementary
#16157B #7B4915 #477B15
monochromatic
#05041A #0D0C47 #16157B #1F1EAF #312FDB

Accessibility & contrast

On white

14.71
#16157B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#16157B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16157B
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16157B#FFFFFF#000000##FFFFFF
##16157B1.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #16157b;
/* rgb */ color: rgb(22, 21, 123);
/* oklch */ color: oklch(29.4% 0.163 270.9);
Tailwind
colors: {
  custom: {
    50: '#6855a2',
    500: '#16157b',
    950: '#000000',
  },
}
SCSS
$custom: #16157b;
$custom-light: #6855a2;
$custom-dark: #000000;
JSON
{
  "hex": "#16157b",
  "rgb": {
    "r": 22,
    "g": 21,
    "b": 123
  },
  "hsl": {
    "h": 240.588,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29382,
    "c": 0.1625,
    "h": 270.9
  },
  "luminance": 0.02137
}

Semantic roles & 50–950 ramp

primary
#16157B
secondary
#AFB03B
accent
#EE3AEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #16157B

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

Preview Lab → · Contrast checker → · Palette generator →

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