#16339E#16339E

#16339E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.176 H 265.8°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#16339E
RGBrgb(22, 51, 158)
HSLhsl(227, 76%, 35%)
HSVhsv(227, 86%, 62%)
CMYKcmyk(86.1%, 67.7%, 0%, 38%)
CIE-LABlab(26.75, 31.93, -60.50)
CIE-LCHlch(26.75, 68.41, 297.82°)
OKLaboklab(38.1% -0.0128 -0.1753)
OKLCHoklch(38.1% 0.176 265.8)
XYZxyz(7.6841, 5.0059, 32.9024)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16339E #9E8116
analogous
#16779E #16339E #3D169E
triadic
#16339E #9E1633 #339E16
tetradic
#16339E #9E1677 #9E8116 #169E3D
square
#16339E #9E1677 #9E8116 #169E3D
split-complementary
#16339E #9E3D16 #779E16
monochromatic
#071033 #0F2268 #16339E #1D44D4 #496AE6

Accessibility & contrast

On white

10.49
#16339E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#16339E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16339E
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16339E#FFFFFF#000000##FFFFFF
##16339E1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #16339e;
/* rgb */ color: rgb(22, 51, 158);
/* oklch */ color: oklch(38.1% 0.176 265.8);
Tailwind
colors: {
  custom: {
    50: '#6f6abc',
    500: '#16339e',
    950: '#000000',
  },
}
SCSS
$custom: #16339e;
$custom-light: #6f6abc;
$custom-dark: #000000;
JSON
{
  "hex": "#16339e",
  "rgb": {
    "r": 22,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 227.206,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38101,
    "c": 0.17581,
    "h": 265.8
  },
  "luminance": 0.05007
}

Semantic roles & 50–950 ramp

primary
#16339E
secondary
#C7AC49
accent
#CA36F2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #16339E

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

Preview Lab → · Contrast checker → · Palette generator →

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