#16318F#16318F

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

Color values

HEX#16318F
RGBrgb(22, 49, 143)
HSLhsl(227, 73%, 32%)
HSVhsv(227, 85%, 56%)
CMYKcmyk(84.6%, 65.7%, 0%, 43.9%)
CIE-LABlab(24.80, 27.42, -54.51)
CIE-LCHlch(24.80, 61.02, 296.70°)
OKLaboklab(36.22% -0.0113 -0.1579)
OKLCHoklch(36.22% 0.158 265.9)
XYZxyz(6.3854, 4.3496, 26.4843)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16318F #8F7416
analogous
#166D8F #16318F #38168F
triadic
#16318F #8F1631 #318F16
tetradic
#16318F #8F166D #8F7416 #168F38
square
#16318F #8F166D #8F7416 #168F38
split-complementary
#16318F #8F3816 #6D8F16
monochromatic
#060D25 #0E1F5A #16318F #1E43C4 #3E63E1

Accessibility & contrast

On white

11.23
#16318F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#16318F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16318F
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16318F#FFFFFF#000000##FFFFFF
##16318F1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #16318f;
/* rgb */ color: rgb(22, 49, 143);
/* oklch */ color: oklch(36.2% 0.158 265.9);
Tailwind
colors: {
  custom: {
    50: '#6b68b1',
    500: '#16318f',
    950: '#000000',
  },
}
SCSS
$custom: #16318f;
$custom-light: #6b68b1;
$custom-dark: #000000;
JSON
{
  "hex": "#16318f",
  "rgb": {
    "r": 22,
    "g": 49,
    "b": 143
  },
  "hsl": {
    "h": 226.612,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36223,
    "c": 0.15827,
    "h": 265.9
  },
  "luminance": 0.0435
}

Semantic roles & 50–950 ramp

primary
#16318F
secondary
#C1A43F
accent
#C738F0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #16318F

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

Preview Lab → · Contrast checker → · Palette generator →

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