#16104C#16104C

#16104C is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.0% C 0.105 H 278.7°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#16104C
RGBrgb(22, 16, 76)
HSLhsl(246, 65%, 18%)
HSVhsv(246, 79%, 30%)
CMYKcmyk(71.1%, 78.9%, 0%, 70.2%)
CIE-LABlab(9.50, 23.84, -35.94)
CIE-LCHlch(9.50, 43.13, 303.56°)
OKLaboklab(23.01% 0.0159 -0.1037)
OKLCHoklch(23.01% 0.105 278.7)
XYZxyz(1.8203, 1.0628, 6.9453)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16104C #464C10
analogous
#10284C #16104C #34104C
triadic
#16104C #4C1610 #104C16
tetradic
#16104C #4C1028 #464C10 #104C34
square
#16104C #4C1028 #464C10 #104C34
split-complementary
#16104C #4C3410 #284C10
monochromatic
#070519 #070519 #16104C #251B7F #3325B1

Accessibility & contrast

On white

17.32
#16104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#16104C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16104C
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16104C#FFFFFF#000000##FFFFFF
##16104C1.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4E
Deuteranopia (green-blind)
#00184B
Tritanopia (blue-blind)
#00212C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #16104c;
/* rgb */ color: rgb(22, 16, 76);
/* oklch */ color: oklch(23.0% 0.105 278.7);
Tailwind
colors: {
  custom: {
    50: '#5c4f7f',
    500: '#16104c',
    950: '#000000',
  },
}
SCSS
$custom: #16104c;
$custom-light: #5c4f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#16104c",
  "rgb": {
    "r": 22,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 246,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.23012,
    "c": 0.10494,
    "h": 278.7
  },
  "luminance": 0.01063
}

Semantic roles & 50–950 ramp

primary
#16104C
secondary
#7D8632
accent
#E840D7
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #16104C

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

Preview Lab → · Contrast checker → · Palette generator →

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