#16317C#16317C

#16317C is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.4% C 0.132 H 265.0°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#16317C
RGBrgb(22, 49, 124)
HSLhsl(224, 70%, 29%)
HSVhsv(224, 82%, 49%)
CMYKcmyk(82.3%, 60.5%, 0%, 51.4%)
CIE-LABlab(23.07, 19.75, -45.43)
CIE-LCHlch(23.07, 49.54, 293.49°)
OKLaboklab(34.41% -0.0115 -0.1313)
OKLCHoklch(34.41% 0.132 265)
XYZxyz(5.0660, 3.8218, 19.5356)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16317C #7C6116
analogous
#16647C #16317C #2E167C
triadic
#16317C #7C1631 #317C16
tetradic
#16317C #7C1664 #7C6116 #167C2E
square
#16317C #7C1664 #7C6116 #167C2E
split-complementary
#16317C #7C2E16 #647C16
monochromatic
#050A1A #0D1C48 #16317C #1F46B0 #325EDB

Accessibility & contrast

On white

11.90
#16317C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#16317C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16317C
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16317C#FFFFFF#000000##FFFFFF
##16317C1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #16317c;
/* rgb */ color: rgb(22, 49, 124);
/* oklch */ color: oklch(34.4% 0.132 265.0);
Tailwind
colors: {
  custom: {
    50: '#6668a3',
    500: '#16317c',
    950: '#000000',
  },
}
SCSS
$custom: #16317c;
$custom-light: #6668a3;
$custom-dark: #000000;
JSON
{
  "hex": "#16317c",
  "rgb": {
    "r": 22,
    "g": 49,
    "b": 124
  },
  "hsl": {
    "h": 224.118,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34412,
    "c": 0.13177,
    "h": 265
  },
  "luminance": 0.03822
}

Semantic roles & 50–950 ramp

primary
#16317C
secondary
#B1923D
accent
#BE3BED
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #16317C

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

Preview Lab → · Contrast checker → · Palette generator →

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