#163870#163870

#163870 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.0% C 0.105 H 259.9°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#163870
RGBrgb(22, 56, 112)
HSLhsl(217, 67%, 26%)
HSVhsv(217, 80%, 44%)
CMYKcmyk(80.4%, 50%, 0%, 56.1%)
CIE-LABlab(24.22, 9.75, -35.94)
CIE-LCHlch(24.22, 37.24, 285.18°)
OKLaboklab(34.98% -0.0184 -0.1032)
OKLCHoklch(34.98% 0.105 259.9)
XYZxyz(4.6686, 4.1682, 15.8846)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163870 #704E16
analogous
#166570 #163870 #211670
triadic
#163870 #701638 #387016
tetradic
#163870 #701665 #704E16 #167021
square
#163870 #701665 #704E16 #167021
split-complementary
#163870 #702116 #657016
monochromatic
#050D1A #0C1E3D #163870 #2052A3 #2B6BD5

Accessibility & contrast

On white

11.45
#163870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#163870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163870
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163870#FFFFFF#000000##FFFFFF
##1638701.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193E72
Deuteranopia (green-blind)
#00366F
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #163870;
/* rgb */ color: rgb(22, 56, 112);
/* oklch */ color: oklch(35.0% 0.105 259.9);
Tailwind
colors: {
  custom: {
    50: '#626e99',
    500: '#163870',
    950: '#000000',
  },
}
SCSS
$custom: #163870;
$custom-light: #626e99;
$custom-dark: #000000;
JSON
{
  "hex": "#163870",
  "rgb": {
    "r": 22,
    "g": 56,
    "b": 112
  },
  "hsl": {
    "h": 217.333,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.34983,
    "c": 0.10484,
    "h": 259.9
  },
  "luminance": 0.04169
}

Semantic roles & 50–950 ramp

primary
#163870
secondary
#A67E3C
accent
#A93EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #163870

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

Preview Lab → · Contrast checker → · Palette generator →

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