#163878#163878

#163878 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.6% C 0.117 H 261.6°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#163878
RGBrgb(22, 56, 120)
HSLhsl(219, 69%, 28%)
HSVhsv(219, 82%, 47%)
CMYKcmyk(81.7%, 53.3%, 0%, 52.9%)
CIE-LABlab(24.81, 13.10, -40.08)
CIE-LCHlch(24.81, 42.17, 288.10°)
OKLaboklab(35.62% -0.0171 -0.1154)
OKLCHoklch(35.62% 0.117 261.6)
XYZxyz(5.1340, 4.3544, 18.3356)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163878 #785616
analogous
#166978 #163878 #251678
triadic
#163878 #781638 #387816
tetradic
#163878 #781669 #785616 #167825
square
#163878 #781669 #785616 #167825
split-complementary
#163878 #782516 #697816
monochromatic
#050C1A #0D2044 #163878 #1F50AC #2F6AD9

Accessibility & contrast

On white

11.22
#163878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #163878
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163878#FFFFFF#000000##FFFFFF
##1638781.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E407A
Deuteranopia (green-blind)
#003777
Tritanopia (blue-blind)
#004852
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #163878;
/* rgb */ color: rgb(22, 56, 120);
/* oklch */ color: oklch(35.6% 0.117 261.6);
Tailwind
colors: {
  custom: {
    50: '#646e9f',
    500: '#163878',
    950: '#000000',
  },
}
SCSS
$custom: #163878;
$custom-light: #646e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#163878",
  "rgb": {
    "r": 22,
    "g": 56,
    "b": 120
  },
  "hsl": {
    "h": 219.184,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35623,
    "c": 0.11667,
    "h": 261.6
  },
  "luminance": 0.04355
}

Semantic roles & 50–950 ramp

primary
#163878
secondary
#AD863C
accent
#AF3CEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #163878

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

Preview Lab → · Contrast checker → · Palette generator →

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