#163877#163877

#163877 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.5% C 0.115 H 261.4°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#163877
RGBrgb(22, 56, 119)
HSLhsl(219, 69%, 28%)
HSVhsv(219, 82%, 47%)
CMYKcmyk(81.5%, 52.9%, 0%, 53.3%)
CIE-LABlab(24.73, 12.68, -39.57)
CIE-LCHlch(24.73, 41.55, 287.77°)
OKLaboklab(35.54% -0.0173 -0.1139)
OKLCHoklch(35.54% 0.115 261.4)
XYZxyz(5.0736, 4.3302, 18.0176)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163877 #775516
analogous
#166877 #163877 #241677
triadic
#163877 #771638 #387716
tetradic
#163877 #771668 #775516 #167724
square
#163877 #771668 #775516 #167724
split-complementary
#163877 #772416 #687716
monochromatic
#050C1A #0C2043 #163877 #2050AB #2F6AD9

Accessibility & contrast

On white

11.25
#163877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#163877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163877
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163877#FFFFFF#000000##FFFFFF
##1638771.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103F79
Deuteranopia (green-blind)
#003776
Tritanopia (blue-blind)
#004752
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #163877;
/* rgb */ color: rgb(22, 56, 119);
/* oklch */ color: oklch(35.5% 0.115 261.4);
Tailwind
colors: {
  custom: {
    50: '#646e9f',
    500: '#163877',
    950: '#000000',
  },
}
SCSS
$custom: #163877;
$custom-light: #646e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#163877",
  "rgb": {
    "r": 22,
    "g": 56,
    "b": 119
  },
  "hsl": {
    "h": 218.969,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35541,
    "c": 0.1152,
    "h": 261.4
  },
  "luminance": 0.04331
}

Semantic roles & 50–950 ramp

primary
#163877
secondary
#AC853C
accent
#AE3CEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #163877

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

Preview Lab → · Contrast checker → · Palette generator →

#163877 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva