#16177E#16177E

#16177E is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.164 H 270.4°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#16177E
RGBrgb(22, 23, 126)
HSLhsl(239, 70%, 29%)
HSVhsv(239, 83%, 49%)
CMYKcmyk(82.5%, 81.7%, 0%, 50.6%)
CIE-LABlab(16.94, 37.59, -56.80)
CIE-LCHlch(16.94, 68.11, 303.50°)
OKLaboklab(30.01% 0.0012 -0.1645)
OKLCHoklch(30.01% 0.164 270.4)
XYZxyz(4.4019, 2.2892, 19.9445)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16177E #7E7D16
analogous
#164B7E #16177E #49167E
triadic
#16177E #7E1617 #177E16
tetradic
#16177E #7E164B #7E7D16 #167E49
square
#16177E #7E164B #7E7D16 #167E49
split-complementary
#16177E #7E4916 #4B7E16
monochromatic
#05051A #0D0D4A #16177E #1F21B2 #3335DB

Accessibility & contrast

On white

14.40
#16177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#16177E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16177E
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16177E#FFFFFF#000000##FFFFFF
##16177E1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00247C
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #16177e;
/* rgb */ color: rgb(22, 23, 126);
/* oklch */ color: oklch(30.0% 0.164 270.4);
Tailwind
colors: {
  custom: {
    50: '#6956a5',
    500: '#16177e',
    950: '#000000',
  },
}
SCSS
$custom: #16177e;
$custom-light: #6956a5;
$custom-dark: #000000;
JSON
{
  "hex": "#16177e",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 239.423,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30014,
    "c": 0.16446,
    "h": 270.4
  },
  "luminance": 0.0229
}

Semantic roles & 50–950 ramp

primary
#16177E
secondary
#B3B23D
accent
#EB3BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #16177E

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

Preview Lab → · Contrast checker → · Palette generator →

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