#163D89#163D89

#163D89 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.2% C 0.135 H 261.9°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#163D89
RGBrgb(22, 61, 137)
HSLhsl(220, 72%, 31%)
HSVhsv(220, 84%, 54%)
CMYKcmyk(83.9%, 55.5%, 0%, 46.3%)
CIE-LABlab(27.61, 16.64, -46.20)
CIE-LCHlch(27.61, 49.10, 289.80°)
OKLaboklab(38.17% -0.019 -0.1333)
OKLCHoklch(38.17% 0.135 261.9)
XYZxyz(6.5133, 5.3134, 24.3444)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163D89 #896216
analogous
#167689 #163D89 #281689
triadic
#163D89 #89163D #3D8916
tetradic
#163D89 #891676 #896216 #168928
square
#163D89 #891676 #896216 #168928
split-complementary
#163D89 #892816 #768916
monochromatic
#050E20 #0E2654 #163D89 #1E54BE #3A72DF

Accessibility & contrast

On white

10.18
#163D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#163D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163D89
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163D89#FFFFFF#000000##FFFFFF
##163D891.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478C
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #163d89;
/* rgb */ color: rgb(22, 61, 137);
/* oklch */ color: oklch(38.2% 0.135 261.9);
Tailwind
colors: {
  custom: {
    50: '#6971ac',
    500: '#163d89',
    950: '#000000',
  },
}
SCSS
$custom: #163d89;
$custom-light: #6971ac;
$custom-dark: #000000;
JSON
{
  "hex": "#163d89",
  "rgb": {
    "r": 22,
    "g": 61,
    "b": 137
  },
  "hsl": {
    "h": 219.652,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38169,
    "c": 0.13464,
    "h": 261.9
  },
  "luminance": 0.05314
}

Semantic roles & 50–950 ramp

primary
#163D89
secondary
#BD923E
accent
#B139EF
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #163D89

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

Preview Lab → · Contrast checker → · Palette generator →

#163D89 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva