#16318E#16318E

#16318E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.157 H 265.9°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#16318E
RGBrgb(22, 49, 142)
HSLhsl(227, 73%, 32%)
HSVhsv(227, 85%, 56%)
CMYKcmyk(84.5%, 65.5%, 0%, 44.3%)
CIE-LABlab(24.70, 27.02, -54.05)
CIE-LCHlch(24.70, 60.42, 296.57°)
OKLaboklab(36.12% -0.0113 -0.1565)
OKLCHoklch(36.12% 0.157 265.9)
XYZxyz(6.3100, 4.3194, 26.0871)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16318E #8E7316
analogous
#166D8E #16318E #37168E
triadic
#16318E #8E1631 #318E16
tetradic
#16318E #8E166D #8E7316 #168E37
square
#16318E #8E166D #8E7316 #168E37
split-complementary
#16318E #8E3716 #6D8E16
monochromatic
#060C24 #0E1F59 #16318E #1E43C3 #3D62E1

Accessibility & contrast

On white

11.27
#16318E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#16318E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16318E
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16318E#FFFFFF#000000##FFFFFF
##16318E1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #16318e;
/* rgb */ color: rgb(22, 49, 142);
/* oklch */ color: oklch(36.1% 0.157 265.9);
Tailwind
colors: {
  custom: {
    50: '#6b68b0',
    500: '#16318e',
    950: '#000000',
  },
}
SCSS
$custom: #16318e;
$custom-light: #6b68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#16318e",
  "rgb": {
    "r": 22,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 226.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36124,
    "c": 0.15692,
    "h": 265.9
  },
  "luminance": 0.0432
}

Semantic roles & 50–950 ramp

primary
#16318E
secondary
#C1A43F
accent
#C638F0
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #16318E

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

Preview Lab → · Contrast checker → · Palette generator →

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