#16156D#16156D

#16156D is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.7% C 0.145 H 272.2°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#16156D
RGBrgb(22, 21, 109)
HSLhsl(241, 68%, 25%)
HSVhsv(241, 81%, 43%)
CMYKcmyk(79.8%, 80.7%, 0%, 57.3%)
CIE-LABlab(14.46, 32.78, -49.94)
CIE-LCHlch(14.46, 59.73, 303.28°)
OKLaboklab(27.67% 0.0056 -0.1445)
OKLCHoklch(27.67% 0.145 272.2)
XYZxyz(3.3584, 1.8107, 14.6375)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16156D #6C6D15
analogous
#15406D #16156D #42156D
triadic
#16156D #6D1615 #156D16
tetradic
#16156D #6D1540 #6C6D15 #156D42
square
#16156D #6D1540 #6C6D15 #156D42
split-complementary
#16156D #6D4215 #406D15
monochromatic
#05051A #0C0B3A #16156D #201FA0 #2B29D4

Accessibility & contrast

On white

15.42
#16156D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#16156D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16156D
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16156D#FFFFFF#000000##FFFFFF
##16156D1.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296F
Deuteranopia (green-blind)
#00206B
Tritanopia (blue-blind)
#002F40
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #16156d;
/* rgb */ color: rgb(22, 21, 109);
/* oklch */ color: oklch(27.7% 0.145 272.2);
Tailwind
colors: {
  custom: {
    50: '#645498',
    500: '#16156d',
    950: '#000000',
  },
}
SCSS
$custom: #16156d;
$custom-light: #645498;
$custom-dark: #000000;
JSON
{
  "hex": "#16156d",
  "rgb": {
    "r": 22,
    "g": 21,
    "b": 109
  },
  "hsl": {
    "h": 240.682,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.27668,
    "c": 0.14465,
    "h": 272.2
  },
  "luminance": 0.01811
}

Semantic roles & 50–950 ramp

primary
#16156D
secondary
#A2A33A
accent
#EB3DE9
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #16156D

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

Preview Lab → · Contrast checker → · Palette generator →

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