#16157C#16157C

#16157C is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.164 H 270.8°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#16157C
RGBrgb(22, 21, 124)
HSLhsl(241, 71%, 28%)
HSVhsv(241, 83%, 49%)
CMYKcmyk(82.3%, 83.1%, 0%, 51.4%)
CIE-LABlab(16.31, 37.99, -56.55)
CIE-LCHlch(16.31, 68.13, 303.89°)
OKLaboklab(29.51% 0.0022 -0.1637)
OKLCHoklch(29.51% 0.164 270.8)
XYZxyz(4.2359, 2.1617, 19.2589)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16157C #7B7C15
analogous
#15477C #16157C #49157C
triadic
#16157C #7C1615 #157C16
tetradic
#16157C #7C1547 #7B7C15 #157C49
square
#16157C #7C1547 #7B7C15 #157C49
split-complementary
#16157C #7C4915 #477C15
monochromatic
#05041A #0D0C48 #16157C #1F1EB0 #3130DC

Accessibility & contrast

On white

14.66
#16157C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16157C
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16157C#FFFFFF#000000##FFFFFF
##16157C1.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7F
Deuteranopia (green-blind)
#00237A
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #16157c;
/* rgb */ color: rgb(22, 21, 124);
/* oklch */ color: oklch(29.5% 0.164 270.8);
Tailwind
colors: {
  custom: {
    50: '#6955a3',
    500: '#16157c',
    950: '#000000',
  },
}
SCSS
$custom: #16157c;
$custom-light: #6955a3;
$custom-dark: #000000;
JSON
{
  "hex": "#16157c",
  "rgb": {
    "r": 22,
    "g": 21,
    "b": 124
  },
  "hsl": {
    "h": 240.583,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29506,
    "c": 0.16374,
    "h": 270.8
  },
  "luminance": 0.02162
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #16157C

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

Preview Lab → · Contrast checker → · Palette generator →

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