#163971#163971

#163971 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.3% C 0.105 H 259.5°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#163971
RGBrgb(22, 57, 113)
HSLhsl(217, 67%, 26%)
HSVhsv(217, 81%, 44%)
CMYKcmyk(80.5%, 49.6%, 0%, 55.7%)
CIE-LABlab(24.60, 9.46, -35.96)
CIE-LCHlch(24.60, 37.19, 284.74°)
OKLaboklab(35.3% -0.0191 -0.1033)
OKLCHoklch(35.3% 0.105 259.5)
XYZxyz(4.7736, 4.2885, 16.1958)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163971 #714E16
analogous
#166771 #163971 #211671
triadic
#163971 #711639 #397116
tetradic
#163971 #711667 #714E16 #167121
square
#163971 #711667 #714E16 #167121
split-complementary
#163971 #712116 #677116
monochromatic
#050D1A #0C1F3E #163971 #2053A4 #2C6DD6

Accessibility & contrast

On white

11.30
#163971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#163971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163971
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163971#FFFFFF#000000##FFFFFF
##1639711.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3F73
Deuteranopia (green-blind)
#023770
Tritanopia (blue-blind)
#00464F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #163971;
/* rgb */ color: rgb(22, 57, 113);
/* oklch */ color: oklch(35.3% 0.105 259.5);
Tailwind
colors: {
  custom: {
    50: '#626e9a',
    500: '#163971',
    950: '#000000',
  },
}
SCSS
$custom: #163971;
$custom-light: #626e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#163971",
  "rgb": {
    "r": 22,
    "g": 57,
    "b": 113
  },
  "hsl": {
    "h": 216.923,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.353,
    "c": 0.10501,
    "h": 259.5
  },
  "luminance": 0.04289
}

Semantic roles & 50–950 ramp

primary
#163971
secondary
#A77E3C
accent
#A83EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #163971

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

Preview Lab → · Contrast checker → · Palette generator →

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