#16315F#16315F

#16315F is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.0% C 0.088 H 260.3°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#16315F
RGBrgb(22, 49, 95)
HSLhsl(218, 62%, 23%)
HSVhsv(218, 77%, 37%)
CMYKcmyk(76.8%, 48.4%, 0%, 62.7%)
CIE-LABlab(20.80, 7.63, -30.42)
CIE-LCHlch(20.80, 31.36, 284.08°)
OKLaboklab(31.97% -0.0148 -0.0871)
OKLCHoklch(31.97% 0.088 260.3)
XYZxyz(3.4940, 3.1930, 11.2564)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16315F #5F4416
analogous
#16555F #16315F #1F165F
triadic
#16315F #5F1631 #315F16
tetradic
#16315F #5F1655 #5F4416 #165F1F
square
#16315F #5F1655 #5F4416 #165F1F
split-complementary
#16315F #5F1F16 #555F16
monochromatic
#060D19 #0A172D #16315F #224B91 #2D64C2

Accessibility & contrast

On white

12.82
#16315F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#16315F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16315F
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16315F#FFFFFF#000000##FFFFFF
##16315F1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3661
Deuteranopia (green-blind)
#0B2F5E
Tritanopia (blue-blind)
#003C43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #16315f;
/* rgb */ color: rgb(22, 49, 95);
/* oklch */ color: oklch(32.0% 0.088 260.3);
Tailwind
colors: {
  custom: {
    50: '#5e688d',
    500: '#16315f',
    950: '#000000',
  },
}
SCSS
$custom: #16315f;
$custom-light: #5e688d;
$custom-dark: #000000;
JSON
{
  "hex": "#16315f",
  "rgb": {
    "r": 22,
    "g": 49,
    "b": 95
  },
  "hsl": {
    "h": 217.808,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31966,
    "c": 0.08836,
    "h": 260.3
  },
  "luminance": 0.03193
}

Semantic roles & 50–950 ramp

primary
#16315F
secondary
#96743B
accent
#A942E5
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #16315F

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

Preview Lab → · Contrast checker → · Palette generator →

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