#163873#163873

#163873 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.2% C 0.109 H 260.6°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#163873
RGBrgb(22, 56, 115)
HSLhsl(218, 68%, 27%)
HSVhsv(218, 81%, 45%)
CMYKcmyk(80.9%, 51.3%, 0%, 54.9%)
CIE-LABlab(24.44, 11.01, -37.51)
CIE-LCHlch(24.44, 39.09, 286.36°)
OKLaboklab(35.22% -0.0179 -0.1078)
OKLCHoklch(35.22% 0.109 260.6)
XYZxyz(4.8384, 4.2362, 16.7790)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163873 #735116
analogous
#166773 #163873 #231673
triadic
#163873 #731638 #387316
tetradic
#163873 #731667 #735116 #167323
square
#163873 #731667 #735116 #167323
split-complementary
#163873 #732316 #677316
monochromatic
#050D1A #0C1F40 #163873 #2051A6 #2D6BD7

Accessibility & contrast

On white

11.37
#163873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#163873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163873
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163873#FFFFFF#000000##FFFFFF
##1638731.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153F75
Deuteranopia (green-blind)
#003672
Tritanopia (blue-blind)
#004650
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #163873;
/* rgb */ color: rgb(22, 56, 115);
/* oklch */ color: oklch(35.2% 0.109 260.6);
Tailwind
colors: {
  custom: {
    50: '#636e9c',
    500: '#163873',
    950: '#000000',
  },
}
SCSS
$custom: #163873;
$custom-light: #636e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#163873",
  "rgb": {
    "r": 22,
    "g": 56,
    "b": 115
  },
  "hsl": {
    "h": 218.065,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35219,
    "c": 0.10929,
    "h": 260.6
  },
  "luminance": 0.04237
}

Semantic roles & 50–950 ramp

primary
#163873
secondary
#A9813C
accent
#AB3DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #163873

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

Preview Lab → · Contrast checker → · Palette generator →

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