#16316A#16316A

#16316A is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.8% C 0.105 H 262.9°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#16316A
RGBrgb(22, 49, 106)
HSLhsl(221, 66%, 25%)
HSVhsv(221, 79%, 42%)
CMYKcmyk(79.2%, 53.8%, 0%, 58.4%)
CIE-LABlab(21.61, 12.25, -36.29)
CIE-LCHlch(21.61, 38.31, 288.65°)
OKLaboklab(32.84% -0.013 -0.1044)
OKLCHoklch(32.84% 0.105 262.9)
XYZxyz(4.0298, 3.4074, 14.0782)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16316A #6A4F16
analogous
#165B6A #16316A #25166A
triadic
#16316A #6A1631 #316A16
tetradic
#16316A #6A165B #6A4F16 #166A25
square
#16316A #6A165B #6A4F16 #166A25
split-complementary
#16316A #6A2516 #5B6A16
monochromatic
#050C19 #0B1A37 #16316A #21489D #2B60CF

Accessibility & contrast

On white

12.49
#16316A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#16316A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16316A
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16316A#FFFFFF#000000##FFFFFF
##16316A1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D386C
Deuteranopia (green-blind)
#003069
Tritanopia (blue-blind)
#003F48
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #16316a;
/* rgb */ color: rgb(22, 49, 106);
/* oklch */ color: oklch(32.8% 0.105 262.9);
Tailwind
colors: {
  custom: {
    50: '#616895',
    500: '#16316a',
    950: '#000000',
  },
}
SCSS
$custom: #16316a;
$custom-light: #616895;
$custom-dark: #000000;
JSON
{
  "hex": "#16316a",
  "rgb": {
    "r": 22,
    "g": 49,
    "b": 106
  },
  "hsl": {
    "h": 220.714,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32841,
    "c": 0.10521,
    "h": 262.9
  },
  "luminance": 0.03408
}

Semantic roles & 50–950 ramp

primary
#16316A
secondary
#A0803B
accent
#B23FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #16316A

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

Preview Lab → · Contrast checker → · Palette generator →

#16316A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva