#16317A#16317A

#16317A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.2% C 0.129 H 264.8°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#16317A
RGBrgb(22, 49, 122)
HSLhsl(224, 69%, 28%)
HSVhsv(224, 82%, 48%)
CMYKcmyk(82%, 59.8%, 0%, 52.2%)
CIE-LABlab(22.90, 18.92, -44.45)
CIE-LCHlch(22.90, 48.31, 293.06°)
OKLaboklab(34.23% -0.0116 -0.1284)
OKLCHoklch(34.23% 0.129 264.8)
XYZxyz(4.9408, 3.7718, 18.8762)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16317A #7A5F16
analogous
#16637A #16317A #2D167A
triadic
#16317A #7A1631 #317A16
tetradic
#16317A #7A1663 #7A5F16 #167A2D
square
#16317A #7A1663 #7A5F16 #167A2D
split-complementary
#16317A #7A2D16 #637A16
monochromatic
#050A1A #0D1C46 #16317A #1F46AE #315EDA

Accessibility & contrast

On white

11.97
#16317A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#16317A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16317A
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16317A#FFFFFF#000000##FFFFFF
##16317A1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7C
Deuteranopia (green-blind)
#003279
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #16317a;
/* rgb */ color: rgb(22, 49, 122);
/* oklch */ color: oklch(34.2% 0.129 264.8);
Tailwind
colors: {
  custom: {
    50: '#6568a1',
    500: '#16317a',
    950: '#000000',
  },
}
SCSS
$custom: #16317a;
$custom-light: #6568a1;
$custom-dark: #000000;
JSON
{
  "hex": "#16317a",
  "rgb": {
    "r": 22,
    "g": 49,
    "b": 122
  },
  "hsl": {
    "h": 223.8,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3423,
    "c": 0.12889,
    "h": 264.8
  },
  "luminance": 0.03772
}

Semantic roles & 50–950 ramp

primary
#16317A
secondary
#AF903D
accent
#BD3CEC
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #16317A

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

Preview Lab → · Contrast checker → · Palette generator →

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