#163F8F#163F8F

#163F8F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.141 H 261.9°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#163F8F
RGBrgb(22, 63, 143)
HSLhsl(220, 73%, 32%)
HSVhsv(220, 85%, 56%)
CMYKcmyk(84.6%, 55.9%, 0%, 43.9%)
CIE-LABlab(28.66, 17.71, -48.19)
CIE-LCHlch(28.66, 51.35, 290.18°)
OKLaboklab(39.12% -0.0198 -0.1391)
OKLCHoklch(39.12% 0.141 261.9)
XYZxyz(7.0645, 5.7079, 26.7107)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163F8F #8F6616
analogous
#167C8F #163F8F #29168F
triadic
#163F8F #8F163F #3F8F16
tetradic
#163F8F #8F167C #8F6616 #168F29
square
#163F8F #8F167C #8F6616 #168F29
split-complementary
#163F8F #8F2916 #7C8F16
monochromatic
#061025 #0E285A #163F8F #1E56C4 #3E75E1

Accessibility & contrast

On white

9.80
#163F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#163F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163F8F
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163F8F#FFFFFF#000000##FFFFFF
##163F8F1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #163f8f;
/* rgb */ color: rgb(22, 63, 143);
/* oklch */ color: oklch(39.1% 0.141 261.9);
Tailwind
colors: {
  custom: {
    50: '#6a73b0',
    500: '#163f8f',
    950: '#000000',
  },
}
SCSS
$custom: #163f8f;
$custom-light: #6a73b0;
$custom-dark: #000000;
JSON
{
  "hex": "#163f8f",
  "rgb": {
    "r": 22,
    "g": 63,
    "b": 143
  },
  "hsl": {
    "h": 219.669,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39117,
    "c": 0.14052,
    "h": 261.9
  },
  "luminance": 0.05709
}

Semantic roles & 50–950 ramp

primary
#163F8F
secondary
#C1953F
accent
#B238F0
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080811
muted
#7A7B80

Preview Lab

Preview with #163F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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