#16315D#16315D

#16315D is a dark, moderate blue. Relative luminance 0.032; OKLCH L 31.8% C 0.085 H 259.7°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#16315D
RGBrgb(22, 49, 93)
HSLhsl(217, 62%, 23%)
HSVhsv(217, 76%, 36%)
CMYKcmyk(76.3%, 47.3%, 0%, 63.5%)
CIE-LABlab(20.66, 6.79, -29.32)
CIE-LCHlch(20.66, 30.10, 283.03°)
OKLaboklab(31.81% -0.0152 -0.0839)
OKLCHoklch(31.81% 0.085 259.7)
XYZxyz(3.4043, 3.1572, 10.7838)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16315D #5D4216
analogous
#16545D #16315D #1E165D
triadic
#16315D #5D1631 #315D16
tetradic
#16315D #5D1654 #5D4216 #165D1E
square
#16315D #5D1654 #5D4216 #165D1E
split-complementary
#16315D #5D1E16 #545D16
monochromatic
#060D19 #0A172C #16315D #224B8E #2D65C0

Accessibility & contrast

On white

12.87
#16315D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#16315D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16315D
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16315D#FFFFFF#000000##FFFFFF
##16315D1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B355F
Deuteranopia (green-blind)
#0E2F5C
Tritanopia (blue-blind)
#003B42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #16315d;
/* rgb */ color: rgb(22, 49, 93);
/* oklch */ color: oklch(31.8% 0.085 259.7);
Tailwind
colors: {
  custom: {
    50: '#5e688b',
    500: '#16315d',
    950: '#000000',
  },
}
SCSS
$custom: #16315d;
$custom-light: #5e688b;
$custom-dark: #000000;
JSON
{
  "hex": "#16315d",
  "rgb": {
    "r": 22,
    "g": 49,
    "b": 93
  },
  "hsl": {
    "h": 217.183,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31814,
    "c": 0.08526,
    "h": 259.7
  },
  "luminance": 0.03158
}

Semantic roles & 50–950 ramp

primary
#16315D
secondary
#94723B
accent
#A743E5
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #16315D

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

Preview Lab → · Contrast checker → · Palette generator →

#16315D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva