#16315A#16315A

#16315A is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.6% C 0.081 H 258.6°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#16315A
RGBrgb(22, 49, 90)
HSLhsl(216, 61%, 22%)
HSVhsv(216, 76%, 35%)
CMYKcmyk(75.6%, 45.6%, 0%, 64.7%)
CIE-LABlab(20.46, 5.53, -27.67)
CIE-LCHlch(20.46, 28.21, 281.31°)
OKLaboklab(31.59% -0.0159 -0.079)
OKLCHoklch(31.59% 0.081 258.6)
XYZxyz(3.2740, 3.1050, 10.0977)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16315A #5A3F16
analogous
#16535A #16315A #1D165A
triadic
#16315A #5A1631 #315A16
tetradic
#16315A #5A1653 #5A3F16 #165A1D
square
#16315A #5A1653 #5A3F16 #165A1D
split-complementary
#16315A #5A1D16 #535A16
monochromatic
#060D19 #0A1629 #16315A #224C8B #2E67BC

Accessibility & contrast

On white

12.95
#16315A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16315A
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16315A#FFFFFF#000000##FFFFFF
##16315A1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D355C
Deuteranopia (green-blind)
#122E59
Tritanopia (blue-blind)
#003B41
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #16315a;
/* rgb */ color: rgb(22, 49, 90);
/* oklch */ color: oklch(31.6% 0.081 258.6);
Tailwind
colors: {
  custom: {
    50: '#5d6889',
    500: '#16315a',
    950: '#000000',
  },
}
SCSS
$custom: #16315a;
$custom-light: #5d6889;
$custom-dark: #000000;
JSON
{
  "hex": "#16315a",
  "rgb": {
    "r": 22,
    "g": 49,
    "b": 90
  },
  "hsl": {
    "h": 216.176,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31592,
    "c": 0.08061,
    "h": 258.6
  },
  "luminance": 0.03105
}

Semantic roles & 50–950 ramp

primary
#16315A
secondary
#916F3B
accent
#A444E4
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060B
muted
#797A7C

Preview Lab

Preview with #16315A

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

Preview Lab → · Contrast checker → · Palette generator →

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