#163F89#163F89

#163F89 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.6% C 0.132 H 261.1°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#163F89
RGBrgb(22, 63, 137)
HSLhsl(219, 72%, 31%)
HSVhsv(219, 84%, 54%)
CMYKcmyk(83.9%, 54%, 0%, 46.3%)
CIE-LABlab(28.20, 15.24, -45.25)
CIE-LCHlch(28.20, 47.74, 288.61°)
OKLaboklab(38.62% -0.0204 -0.1304)
OKLCHoklch(38.62% 0.132 261.1)
XYZxyz(6.6221, 5.5309, 24.3806)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163F89 #896016
analogous
#167889 #163F89 #271689
triadic
#163F89 #89163F #3F8916
tetradic
#163F89 #891678 #896016 #168927
square
#163F89 #891678 #896016 #168927
split-complementary
#163F89 #892716 #788916
monochromatic
#050F20 #0E2754 #163F89 #1E57BE #3A75DF

Accessibility & contrast

On white

9.97
#163F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#163F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163F89
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163F89#FFFFFF#000000##FFFFFF
##163F891.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08488C
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #163f89;
/* rgb */ color: rgb(22, 63, 137);
/* oklch */ color: oklch(38.6% 0.132 261.1);
Tailwind
colors: {
  custom: {
    50: '#6873ac',
    500: '#163f89',
    950: '#000000',
  },
}
SCSS
$custom: #163f89;
$custom-light: #6873ac;
$custom-dark: #000000;
JSON
{
  "hex": "#163f89",
  "rgb": {
    "r": 22,
    "g": 63,
    "b": 137
  },
  "hsl": {
    "h": 218.609,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38615,
    "c": 0.13204,
    "h": 261.1
  },
  "luminance": 0.05532
}

Semantic roles & 50–950 ramp

primary
#163F89
secondary
#BD903E
accent
#AE39EF
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #163F89

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

Preview Lab → · Contrast checker → · Palette generator →

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