#16156B#16156B

#16156B is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.4% C 0.142 H 272.4°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#16156B
RGBrgb(22, 21, 107)
HSLhsl(241, 67%, 25%)
HSVhsv(241, 80%, 42%)
CMYKcmyk(79.4%, 80.4%, 0%, 58%)
CIE-LABlab(14.22, 32.06, -49.03)
CIE-LCHlch(14.22, 58.58, 303.18°)
OKLaboklab(27.43% 0.006 -0.1419)
OKLCHoklch(27.43% 0.142 272.4)
XYZxyz(3.2520, 1.7681, 14.0770)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16156B #6A6B15
analogous
#153F6B #16156B #41156B
triadic
#16156B #6B1615 #156B16
tetradic
#16156B #6B153F #6A6B15 #156B41
square
#16156B #6B153F #6A6B15 #156B41
split-complementary
#16156B #6B4115 #3F6B15
monochromatic
#05051A #0B0B38 #16156B #211F9E #2B29D1

Accessibility & contrast

On white

15.51
#16156B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#16156B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16156B
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16156B#FFFFFF#000000##FFFFFF
##16156B1.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286D
Deuteranopia (green-blind)
#002069
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #16156b;
/* rgb */ color: rgb(22, 21, 107);
/* oklch */ color: oklch(27.4% 0.142 272.4);
Tailwind
colors: {
  custom: {
    50: '#645496',
    500: '#16156b',
    950: '#000000',
  },
}
SCSS
$custom: #16156b;
$custom-light: #645496;
$custom-dark: #000000;
JSON
{
  "hex": "#16156b",
  "rgb": {
    "r": 22,
    "g": 21,
    "b": 107
  },
  "hsl": {
    "h": 240.698,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27428,
    "c": 0.14203,
    "h": 272.4
  },
  "luminance": 0.01768
}

Semantic roles & 50–950 ramp

primary
#16156B
secondary
#A0A23A
accent
#EA3EE8
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #16156B

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

Preview Lab → · Contrast checker → · Palette generator →

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