#163F88#163F88

#163F88 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.5% C 0.131 H 260.9°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#163F88
RGBrgb(22, 63, 136)
HSLhsl(218, 72%, 31%)
HSVhsv(218, 84%, 53%)
CMYKcmyk(83.8%, 53.7%, 0%, 46.7%)
CIE-LABlab(28.12, 14.82, -44.75)
CIE-LCHlch(28.12, 47.14, 288.33°)
OKLaboklab(38.53% -0.0206 -0.129)
OKLCHoklch(38.53% 0.131 260.9)
XYZxyz(6.5507, 5.5024, 24.0046)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163F88 #885F16
analogous
#167888 #163F88 #261688
triadic
#163F88 #88163F #3F8816
tetradic
#163F88 #881678 #885F16 #168826
square
#163F88 #881678 #885F16 #168826
split-complementary
#163F88 #882616 #788816
monochromatic
#050E1F #0D2753 #163F88 #1F57BD #3975DF

Accessibility & contrast

On white

10.00
#163F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#163F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163F88
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163F88#FFFFFF#000000##FFFFFF
##163F881.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A488B
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #163f88;
/* rgb */ color: rgb(22, 63, 136);
/* oklch */ color: oklch(38.5% 0.131 260.9);
Tailwind
colors: {
  custom: {
    50: '#6873ab',
    500: '#163f88',
    950: '#000000',
  },
}
SCSS
$custom: #163f88;
$custom-light: #6873ab;
$custom-dark: #000000;
JSON
{
  "hex": "#163f88",
  "rgb": {
    "r": 22,
    "g": 63,
    "b": 136
  },
  "hsl": {
    "h": 218.421,
    "s": 72.152,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38533,
    "c": 0.13062,
    "h": 260.9
  },
  "luminance": 0.05503
}

Semantic roles & 50–950 ramp

primary
#163F88
secondary
#BC8F3E
accent
#AD39EF
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #163F88

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

Preview Lab → · Contrast checker → · Palette generator →

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