#163871#163871

#163871 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.1% C 0.106 H 260.1°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#163871
RGBrgb(22, 56, 113)
HSLhsl(218, 67%, 26%)
HSVhsv(218, 81%, 44%)
CMYKcmyk(80.5%, 50.4%, 0%, 55.7%)
CIE-LABlab(24.29, 10.17, -36.46)
CIE-LCHlch(24.29, 37.86, 285.58°)
OKLaboklab(35.06% -0.0182 -0.1048)
OKLCHoklch(35.06% 0.106 260.1)
XYZxyz(4.7246, 4.1906, 16.1795)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163871 #714F16
analogous
#166671 #163871 #221671
triadic
#163871 #711638 #387116
tetradic
#163871 #711666 #714F16 #167122
square
#163871 #711666 #714F16 #167122
split-complementary
#163871 #712216 #667116
monochromatic
#050D1A #0C1F3E #163871 #2051A4 #2C6BD6

Accessibility & contrast

On white

11.42
#163871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#163871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163871
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163871#FFFFFF#000000##FFFFFF
##1638711.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183E73
Deuteranopia (green-blind)
#003670
Tritanopia (blue-blind)
#00464F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #163871;
/* rgb */ color: rgb(22, 56, 113);
/* oklch */ color: oklch(35.1% 0.106 260.1);
Tailwind
colors: {
  custom: {
    50: '#626e9a',
    500: '#163871',
    950: '#000000',
  },
}
SCSS
$custom: #163871;
$custom-light: #626e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#163871",
  "rgb": {
    "r": 22,
    "g": 56,
    "b": 113
  },
  "hsl": {
    "h": 217.582,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35061,
    "c": 0.10633,
    "h": 260.1
  },
  "luminance": 0.04191
}

Semantic roles & 50–950 ramp

primary
#163871
secondary
#A77F3C
accent
#AA3EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #163871

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

Preview Lab → · Contrast checker → · Palette generator →

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