#16156E#16156E

#16156E is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.8% C 0.146 H 272.1°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#16156E
RGBrgb(22, 21, 110)
HSLhsl(241, 68%, 26%)
HSVhsv(241, 81%, 43%)
CMYKcmyk(80%, 80.9%, 0%, 56.9%)
CIE-LABlab(14.58, 33.13, -50.39)
CIE-LCHlch(14.58, 60.31, 303.33°)
OKLaboklab(27.79% 0.0053 -0.1458)
OKLCHoklch(27.79% 0.146 272.1)
XYZxyz(3.4126, 1.8323, 14.9227)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16156E #6D6E15
analogous
#15406E #16156E #42156E
triadic
#16156E #6E1615 #156E16
tetradic
#16156E #6E1540 #6D6E15 #156E42
square
#16156E #6E1540 #6D6E15 #156E42
split-complementary
#16156E #6E4215 #406E15
monochromatic
#05051A #0C0B3B #16156E #201FA1 #2B29D5

Accessibility & contrast

On white

15.37
#16156E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#16156E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16156E
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16156E#FFFFFF#000000##FFFFFF
##16156E1.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002971
Deuteranopia (green-blind)
#00206C
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #16156e;
/* rgb */ color: rgb(22, 21, 110);
/* oklch */ color: oklch(27.8% 0.146 272.1);
Tailwind
colors: {
  custom: {
    50: '#655499',
    500: '#16156e',
    950: '#000000',
  },
}
SCSS
$custom: #16156e;
$custom-light: #655499;
$custom-dark: #000000;
JSON
{
  "hex": "#16156e",
  "rgb": {
    "r": 22,
    "g": 21,
    "b": 110
  },
  "hsl": {
    "h": 240.674,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.27789,
    "c": 0.14595,
    "h": 272.1
  },
  "luminance": 0.01833
}

Semantic roles & 50–950 ramp

primary
#16156E
secondary
#A3A43A
accent
#EB3DE9
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #16156E

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

Preview Lab → · Contrast checker → · Palette generator →

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