#16315B#16315B

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

Color values

HEX#16315B
RGBrgb(22, 49, 91)
HSLhsl(217, 61%, 22%)
HSVhsv(217, 76%, 36%)
CMYKcmyk(75.8%, 46.2%, 0%, 64.3%)
CIE-LABlab(20.53, 5.95, -28.22)
CIE-LCHlch(20.53, 28.84, 281.90°)
OKLaboklab(31.67% -0.0157 -0.0806)
OKLCHoklch(31.67% 0.082 259)
XYZxyz(3.3168, 3.1222, 10.3233)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16315B #5B4016
analogous
#16545B #16315B #1E165B
triadic
#16315B #5B1631 #315B16
tetradic
#16315B #5B1654 #5B4016 #165B1E
square
#16315B #5B1654 #5B4016 #165B1E
split-complementary
#16315B #5B1E16 #545B16
monochromatic
#060D19 #0A162A #16315B #224C8C #2E66BE

Accessibility & contrast

On white

12.93
#16315B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#16315B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16315B
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16315B#FFFFFF#000000##FFFFFF
##16315B1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D355D
Deuteranopia (green-blind)
#112E5A
Tritanopia (blue-blind)
#003B41
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #16315b;
/* rgb */ color: rgb(22, 49, 91);
/* oklch */ color: oklch(31.7% 0.082 259.0);
Tailwind
colors: {
  custom: {
    50: '#5d688a',
    500: '#16315b',
    950: '#000000',
  },
}
SCSS
$custom: #16315b;
$custom-light: #5d688a;
$custom-dark: #000000;
JSON
{
  "hex": "#16315b",
  "rgb": {
    "r": 22,
    "g": 49,
    "b": 91
  },
  "hsl": {
    "h": 216.522,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31665,
    "c": 0.08216,
    "h": 259
  },
  "luminance": 0.03123
}

Semantic roles & 50–950 ramp

primary
#16315B
secondary
#92703B
accent
#A544E4
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060B
muted
#797A7C

Preview Lab

Preview with #16315B

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

Preview Lab → · Contrast checker → · Palette generator →

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