#16104B#16104B

#16104B is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.9% C 0.103 H 278.9°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#16104B
RGBrgb(22, 16, 75)
HSLhsl(246, 65%, 18%)
HSVhsv(246, 79%, 29%)
CMYKcmyk(70.7%, 78.7%, 0%, 70.6%)
CIE-LABlab(9.39, 23.47, -35.43)
CIE-LCHlch(9.39, 42.50, 303.52°)
OKLaboklab(22.9% 0.0161 -0.1022)
OKLCHoklch(22.9% 0.103 278.9)
XYZxyz(1.7858, 1.0490, 6.7636)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16104B #454B10
analogous
#10274B #16104B #33104B
triadic
#16104B #4B1610 #104B16
tetradic
#16104B #4B1027 #454B10 #104B33
square
#16104B #4B1027 #454B10 #104B33
split-complementary
#16104B #4B3310 #274B10
monochromatic
#070519 #070519 #16104B #251B7D #3426B0

Accessibility & contrast

On white

17.36
#16104B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16104B
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16104B#FFFFFF#000000##FFFFFF
##16104B1.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4D
Deuteranopia (green-blind)
#00184A
Tritanopia (blue-blind)
#00202C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #16104b;
/* rgb */ color: rgb(22, 16, 75);
/* oklch */ color: oklch(22.9% 0.103 278.9);
Tailwind
colors: {
  custom: {
    50: '#5c4f7e',
    500: '#16104b',
    950: '#000000',
  },
}
SCSS
$custom: #16104b;
$custom-light: #5c4f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#16104b",
  "rgb": {
    "r": 22,
    "g": 16,
    "b": 75
  },
  "hsl": {
    "h": 246.102,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.22899,
    "c": 0.10349,
    "h": 278.9
  },
  "luminance": 0.01049
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #16104B

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

Preview Lab → · Contrast checker → · Palette generator →

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