#163978#163978

#163978 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 35.9% C 0.115 H 261.0°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#163978
RGBrgb(22, 57, 120)
HSLhsl(219, 69%, 28%)
HSVhsv(219, 82%, 47%)
CMYKcmyk(81.7%, 52.5%, 0%, 52.9%)
CIE-LABlab(25.11, 12.39, -39.59)
CIE-LCHlch(25.11, 41.48, 287.38°)
OKLaboklab(35.85% -0.018 -0.1139)
OKLCHoklch(35.85% 0.115 261)
XYZxyz(5.1829, 4.4523, 18.3519)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163978 #785516
analogous
#166A78 #163978 #241678
triadic
#163978 #781639 #397816
tetradic
#163978 #78166A #785516 #167824
square
#163978 #78166A #785516 #167824
split-complementary
#163978 #782416 #6A7816
monochromatic
#050C1A #0D2044 #163978 #1F52AC #2F6CD9

Accessibility & contrast

On white

11.11
#163978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#163978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163978
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163978#FFFFFF#000000##FFFFFF
##1639781.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11407A
Deuteranopia (green-blind)
#003777
Tritanopia (blue-blind)
#004852
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #163978;
/* rgb */ color: rgb(22, 57, 120);
/* oklch */ color: oklch(35.9% 0.115 261.0);
Tailwind
colors: {
  custom: {
    50: '#646e9f',
    500: '#163978',
    950: '#000000',
  },
}
SCSS
$custom: #163978;
$custom-light: #646e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#163978",
  "rgb": {
    "r": 22,
    "g": 57,
    "b": 120
  },
  "hsl": {
    "h": 218.571,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35855,
    "c": 0.11535,
    "h": 261
  },
  "luminance": 0.04453
}

Semantic roles & 50–950 ramp

primary
#163978
secondary
#AD853C
accent
#AD3CEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #163978

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

Preview Lab → · Contrast checker → · Palette generator →

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