#163386#163386

#163386 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.8% C 0.143 H 265.0°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#163386
RGBrgb(22, 51, 134)
HSLhsl(224, 72%, 31%)
HSVhsv(224, 84%, 53%)
CMYKcmyk(83.6%, 61.9%, 0%, 47.5%)
CIE-LABlab(24.51, 22.42, -49.38)
CIE-LCHlch(24.51, 54.23, 294.42°)
OKLaboklab(35.76% -0.0125 -0.1428)
OKLCHoklch(35.76% 0.143 265)
XYZxyz(5.8163, 4.2588, 23.0651)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163386 #866916
analogous
#166B86 #163386 #311686
triadic
#163386 #861633 #338616
tetradic
#163386 #86166B #866916 #168631
square
#163386 #86166B #866916 #168631
split-complementary
#163386 #863116 #6B8616
monochromatic
#050B1D #0D1F51 #163386 #1F47BB #3863DE

Accessibility & contrast

On white

11.34
#163386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#163386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163386
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163386#FFFFFF#000000##FFFFFF
##1633861.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #163386;
/* rgb */ color: rgb(22, 51, 134);
/* oklch */ color: oklch(35.8% 0.143 265.0);
Tailwind
colors: {
  custom: {
    50: '#686aaa',
    500: '#163386',
    950: '#000000',
  },
}
SCSS
$custom: #163386;
$custom-light: #686aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#163386",
  "rgb": {
    "r": 22,
    "g": 51,
    "b": 134
  },
  "hsl": {
    "h": 224.464,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35757,
    "c": 0.14336,
    "h": 265
  },
  "luminance": 0.04259
}

Semantic roles & 50–950 ramp

primary
#163386
secondary
#BA9A3E
accent
#C039EF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #163386

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

Preview Lab → · Contrast checker → · Palette generator →

#163386 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva