#163D88#163D88

#163D88 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.1% C 0.133 H 261.8°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#163D88
RGBrgb(22, 61, 136)
HSLhsl(219, 72%, 31%)
HSVhsv(219, 84%, 53%)
CMYKcmyk(83.8%, 55.1%, 0%, 46.7%)
CIE-LABlab(27.53, 16.22, -45.71)
CIE-LCHlch(27.53, 48.50, 289.54°)
OKLaboklab(38.09% -0.0191 -0.1318)
OKLCHoklch(38.09% 0.133 261.8)
XYZxyz(6.4419, 5.2849, 23.9683)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163D88 #886116
analogous
#167688 #163D88 #281688
triadic
#163D88 #88163D #3D8816
tetradic
#163D88 #881676 #886116 #168828
square
#163D88 #881676 #886116 #168828
split-complementary
#163D88 #882816 #768816
monochromatic
#050E1F #0D2553 #163D88 #1F55BD #3972DF

Accessibility & contrast

On white

10.21
#163D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #163D88
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163D88#FFFFFF#000000##FFFFFF
##163D881.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#003C87
Tritanopia (blue-blind)
#004F5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #163d88;
/* rgb */ color: rgb(22, 61, 136);
/* oklch */ color: oklch(38.1% 0.133 261.8);
Tailwind
colors: {
  custom: {
    50: '#6871ab',
    500: '#163d88',
    950: '#000000',
  },
}
SCSS
$custom: #163d88;
$custom-light: #6871ab;
$custom-dark: #000000;
JSON
{
  "hex": "#163d88",
  "rgb": {
    "r": 22,
    "g": 61,
    "b": 136
  },
  "hsl": {
    "h": 219.474,
    "s": 72.152,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38085,
    "c": 0.13322,
    "h": 261.8
  },
  "luminance": 0.05286
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #163D88

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

Preview Lab → · Contrast checker → · Palette generator →

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