#163970#163970

#163970 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.2% C 0.104 H 259.3°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#163970
RGBrgb(22, 57, 112)
HSLhsl(217, 67%, 26%)
HSVhsv(217, 80%, 44%)
CMYKcmyk(80.4%, 49.1%, 0%, 56.1%)
CIE-LABlab(24.53, 9.04, -35.44)
CIE-LCHlch(24.53, 36.57, 284.32°)
OKLaboklab(35.22% -0.0193 -0.1017)
OKLCHoklch(35.22% 0.104 259.3)
XYZxyz(4.7176, 4.2661, 15.9009)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163970 #704D16
analogous
#166670 #163970 #201670
triadic
#163970 #701639 #397016
tetradic
#163970 #701666 #704D16 #167020
square
#163970 #701666 #704D16 #167020
split-complementary
#163970 #702016 #667016
monochromatic
#050D1A #0C1F3D #163970 #2053A3 #2B6DD5

Accessibility & contrast

On white

11.33
#163970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #163970
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163970#FFFFFF#000000##FFFFFF
##1639701.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #163970;
/* rgb */ color: rgb(22, 57, 112);
/* oklch */ color: oklch(35.2% 0.104 259.3);
Tailwind
colors: {
  custom: {
    50: '#626e99',
    500: '#163970',
    950: '#000000',
  },
}
SCSS
$custom: #163970;
$custom-light: #626e99;
$custom-dark: #000000;
JSON
{
  "hex": "#163970",
  "rgb": {
    "r": 22,
    "g": 57,
    "b": 112
  },
  "hsl": {
    "h": 216.667,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35223,
    "c": 0.10353,
    "h": 259.3
  },
  "luminance": 0.04267
}

Semantic roles & 50–950 ramp

primary
#163970
secondary
#A67D3C
accent
#A73EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #163970

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

Preview Lab → · Contrast checker → · Palette generator →

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