#16315C#16315C

#16315C is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.7% C 0.084 H 259.4°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#16315C
RGBrgb(22, 49, 92)
HSLhsl(217, 61%, 22%)
HSVhsv(217, 76%, 36%)
CMYKcmyk(76.1%, 46.7%, 0%, 63.9%)
CIE-LABlab(20.59, 6.37, -28.77)
CIE-LCHlch(20.59, 29.47, 282.48°)
OKLaboklab(31.74% -0.0155 -0.0823)
OKLCHoklch(31.74% 0.084 259.4)
XYZxyz(3.3603, 3.1395, 10.5520)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16315C #5C4116
analogous
#16545C #16315C #1E165C
triadic
#16315C #5C1631 #315C16
tetradic
#16315C #5C1654 #5C4116 #165C1E
square
#16315C #5C1654 #5C4116 #165C1E
split-complementary
#16315C #5C1E16 #545C16
monochromatic
#060D19 #0A172B #16315C #224B8D #2E66BF

Accessibility & contrast

On white

12.90
#16315C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16315C
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16315C#FFFFFF#000000##FFFFFF
##16315C1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C355E
Deuteranopia (green-blind)
#102F5B
Tritanopia (blue-blind)
#003B42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #16315c;
/* rgb */ color: rgb(22, 49, 92);
/* oklch */ color: oklch(31.7% 0.084 259.4);
Tailwind
colors: {
  custom: {
    50: '#5d688a',
    500: '#16315c',
    950: '#000000',
  },
}
SCSS
$custom: #16315c;
$custom-light: #5d688a;
$custom-dark: #000000;
JSON
{
  "hex": "#16315c",
  "rgb": {
    "r": 22,
    "g": 49,
    "b": 92
  },
  "hsl": {
    "h": 216.857,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.3174,
    "c": 0.08371,
    "h": 259.4
  },
  "luminance": 0.0314
}

Semantic roles & 50–950 ramp

primary
#16315C
secondary
#93713B
accent
#A643E5
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #16315C

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

Preview Lab → · Contrast checker → · Palette generator →

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