#16317E#16317E

#16317E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.6% C 0.135 H 265.1°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#16317E
RGBrgb(22, 49, 126)
HSLhsl(224, 70%, 29%)
HSVhsv(224, 83%, 49%)
CMYKcmyk(82.5%, 61.1%, 0%, 50.6%)
CIE-LABlab(23.25, 20.57, -46.42)
CIE-LCHlch(23.25, 50.77, 293.90°)
OKLaboklab(34.6% -0.0114 -0.1341)
OKLCHoklch(34.6% 0.135 265.1)
XYZxyz(5.1938, 3.8729, 20.2084)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16317E #7E6316
analogous
#16657E #16317E #2F167E
triadic
#16317E #7E1631 #317E16
tetradic
#16317E #7E1665 #7E6316 #167E2F
square
#16317E #7E1665 #7E6316 #167E2F
split-complementary
#16317E #7E2F16 #657E16
monochromatic
#050A1A #0D1D4A #16317E #1F45B2 #335FDB

Accessibility & contrast

On white

11.83
#16317E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#16317E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16317E
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16317E#FFFFFF#000000##FFFFFF
##16317E1.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #16317e;
/* rgb */ color: rgb(22, 49, 126);
/* oklch */ color: oklch(34.6% 0.135 265.1);
Tailwind
colors: {
  custom: {
    50: '#6668a4',
    500: '#16317e',
    950: '#000000',
  },
}
SCSS
$custom: #16317e;
$custom-light: #6668a4;
$custom-dark: #000000;
JSON
{
  "hex": "#16317e",
  "rgb": {
    "r": 22,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 224.423,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34596,
    "c": 0.13463,
    "h": 265.1
  },
  "luminance": 0.03874
}

Semantic roles & 50–950 ramp

primary
#16317E
secondary
#B3943D
accent
#BF3BED
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #16317E

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

Preview Lab → · Contrast checker → · Palette generator →

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