#16154C#16154C

#16154C is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.9% C 0.098 H 276.8°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#16154C
RGBrgb(22, 21, 76)
HSLhsl(241, 57%, 19%)
HSVhsv(241, 72%, 30%)
CMYKcmyk(71.1%, 72.4%, 0%, 70.2%)
CIE-LABlab(10.77, 20.40, -33.87)
CIE-LCHlch(10.77, 39.54, 301.06°)
OKLaboklab(23.92% 0.0116 -0.0977)
OKLCHoklch(23.92% 0.098 276.8)
XYZxyz(1.9031, 1.2285, 6.9729)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16154C #4B4C15
analogous
#15304C #16154C #32154C
triadic
#16154C #4C1615 #154C16
tetradic
#16154C #4C1530 #4B4C15 #154C32
square
#16154C #4C1530 #4B4C15 #154C32
split-complementary
#16154C #4C3215 #304C15
monochromatic
#070718 #08081C #16154C #24227C #322FAC

Accessibility & contrast

On white

16.86
#16154C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#16154C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16154C
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16154C#FFFFFF#000000##FFFFFF
##16154C1.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4E
Deuteranopia (green-blind)
#001B4B
Tritanopia (blue-blind)
#00232E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #16154c;
/* rgb */ color: rgb(22, 21, 76);
/* oklch */ color: oklch(23.9% 0.098 276.8);
Tailwind
colors: {
  custom: {
    50: '#5b527f',
    500: '#16154c',
    950: '#000000',
  },
}
SCSS
$custom: #16154c;
$custom-light: #5b527f;
$custom-dark: #000000;
JSON
{
  "hex": "#16154c",
  "rgb": {
    "r": 22,
    "g": 21,
    "b": 76
  },
  "hsl": {
    "h": 241.091,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.23921,
    "c": 0.09835,
    "h": 276.8
  },
  "luminance": 0.01229
}

Semantic roles & 50–950 ramp

primary
#16154C
secondary
#838439
accent
#E048DD
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #16154C

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

Preview Lab → · Contrast checker → · Palette generator →

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