#163872#163872

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

Color values

HEX#163872
RGBrgb(22, 56, 114)
HSLhsl(218, 68%, 27%)
HSVhsv(218, 81%, 45%)
CMYKcmyk(80.7%, 50.9%, 0%, 55.3%)
CIE-LABlab(24.36, 10.59, -36.99)
CIE-LCHlch(24.36, 38.47, 285.98°)
OKLaboklab(35.14% -0.018 -0.1063)
OKLCHoklch(35.14% 0.108 260.4)
XYZxyz(4.7812, 4.2133, 16.4776)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163872 #725016
analogous
#166672 #163872 #221672
triadic
#163872 #721638 #387216
tetradic
#163872 #721666 #725016 #167222
square
#163872 #721666 #725016 #167222
split-complementary
#163872 #722216 #667216
monochromatic
#050D1A #0C1F3F #163872 #2051A5 #2C6BD6

Accessibility & contrast

On white

11.40
#163872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #163872
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163872#FFFFFF#000000##FFFFFF
##1638721.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173E74
Deuteranopia (green-blind)
#003671
Tritanopia (blue-blind)
#00464F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #163872;
/* rgb */ color: rgb(22, 56, 114);
/* oklch */ color: oklch(35.1% 0.108 260.4);
Tailwind
colors: {
  custom: {
    50: '#636e9b',
    500: '#163872',
    950: '#000000',
  },
}
SCSS
$custom: #163872;
$custom-light: #636e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#163872",
  "rgb": {
    "r": 22,
    "g": 56,
    "b": 114
  },
  "hsl": {
    "h": 217.826,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3514,
    "c": 0.10781,
    "h": 260.4
  },
  "luminance": 0.04214
}

Semantic roles & 50–950 ramp

primary
#163872
secondary
#A8803C
accent
#AA3DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #163872

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

Preview Lab → · Contrast checker → · Palette generator →

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