#16319E#16319E

#16319E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.178 H 266.2°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#16319E
RGBrgb(22, 49, 158)
HSLhsl(228, 76%, 35%)
HSVhsv(228, 86%, 62%)
CMYKcmyk(86.1%, 69%, 0%, 38%)
CIE-LABlab(26.26, 33.24, -61.31)
CIE-LCHlch(26.26, 69.74, 298.47°)
OKLaboklab(37.74% -0.0119 -0.1777)
OKLCHoklch(37.74% 0.178 266.2)
XYZxyz(7.5986, 4.8349, 32.8739)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16319E #9E8316
analogous
#16759E #16319E #3F169E
triadic
#16319E #9E1631 #319E16
tetradic
#16319E #9E1675 #9E8316 #169E3F
square
#16319E #9E1675 #9E8316 #169E3F
split-complementary
#16319E #9E3F16 #759E16
monochromatic
#071033 #0F2068 #16319E #1D42D4 #4968E6

Accessibility & contrast

On white

10.68
#16319E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#16319E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16319E
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16319E#FFFFFF#000000##FFFFFF
##16319E1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #16319e;
/* rgb */ color: rgb(22, 49, 158);
/* oklch */ color: oklch(37.7% 0.178 266.2);
Tailwind
colors: {
  custom: {
    50: '#6f69bc',
    500: '#16319e',
    950: '#000000',
  },
}
SCSS
$custom: #16319e;
$custom-light: #6f69bc;
$custom-dark: #000000;
JSON
{
  "hex": "#16319e",
  "rgb": {
    "r": 22,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 228.088,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37741,
    "c": 0.17812,
    "h": 266.2
  },
  "luminance": 0.04836
}

Semantic roles & 50–950 ramp

primary
#16319E
secondary
#C7AE49
accent
#CD36F2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #16319E

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

Preview Lab → · Contrast checker → · Palette generator →

#16319E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva