#163976#163976

#163976 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.7% C 0.112 H 260.7°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#163976
RGBrgb(22, 57, 118)
HSLhsl(218, 69%, 27%)
HSVhsv(218, 81%, 46%)
CMYKcmyk(81.4%, 51.7%, 0%, 53.7%)
CIE-LABlab(24.97, 11.55, -38.56)
CIE-LCHlch(24.97, 40.26, 286.68°)
OKLaboklab(35.69% -0.0183 -0.1109)
OKLCHoklch(35.69% 0.112 260.7)
XYZxyz(5.0628, 4.4042, 17.7193)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163976 #765316
analogous
#166976 #163976 #231676
triadic
#163976 #761639 #397616
tetradic
#163976 #761669 #765316 #167623
square
#163976 #761669 #765316 #167623
split-complementary
#163976 #762316 #697616
monochromatic
#050C1A #0C2042 #163976 #2052AA #2E6CD8

Accessibility & contrast

On white

11.16
#163976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#163976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163976
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163976#FFFFFF#000000##FFFFFF
##1639761.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144078
Deuteranopia (green-blind)
#003775
Tritanopia (blue-blind)
#004852
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #163976;
/* rgb */ color: rgb(22, 57, 118);
/* oklch */ color: oklch(35.7% 0.112 260.7);
Tailwind
colors: {
  custom: {
    50: '#646e9e',
    500: '#163976',
    950: '#000000',
  },
}
SCSS
$custom: #163976;
$custom-light: #646e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#163976",
  "rgb": {
    "r": 22,
    "g": 57,
    "b": 118
  },
  "hsl": {
    "h": 218.125,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35694,
    "c": 0.1124,
    "h": 260.7
  },
  "luminance": 0.04405
}

Semantic roles & 50–950 ramp

primary
#163976
secondary
#AC833C
accent
#AC3CEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #163976

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

Preview Lab → · Contrast checker → · Palette generator →

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