#163786#163786

#163786 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.6% C 0.138 H 263.7°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#163786
RGBrgb(22, 55, 134)
HSLhsl(222, 72%, 31%)
HSVhsv(222, 84%, 53%)
CMYKcmyk(83.6%, 59%, 0%, 47.5%)
CIE-LABlab(25.63, 19.61, -47.55)
CIE-LCHlch(25.63, 51.43, 292.42°)
OKLaboklab(36.6% -0.0151 -0.1374)
OKLCHoklch(36.6% 0.138 263.7)
XYZxyz(5.9986, 4.6235, 23.1259)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163786 #866516
analogous
#166F86 #163786 #2D1686
triadic
#163786 #861637 #378616
tetradic
#163786 #86166F #866516 #16862D
square
#163786 #86166F #866516 #16862D
split-complementary
#163786 #862D16 #6F8616
monochromatic
#050C1D #0D2151 #163786 #1F4DBB #3869DE

Accessibility & contrast

On white

10.91
#163786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#163786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163786
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163786#FFFFFF#000000##FFFFFF
##1637861.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#003884
Tritanopia (blue-blind)
#004B59
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #163786;
/* rgb */ color: rgb(22, 55, 134);
/* oklch */ color: oklch(36.6% 0.138 263.7);
Tailwind
colors: {
  custom: {
    50: '#686daa',
    500: '#163786',
    950: '#000000',
  },
}
SCSS
$custom: #163786;
$custom-light: #686daa;
$custom-dark: #000000;
JSON
{
  "hex": "#163786",
  "rgb": {
    "r": 22,
    "g": 55,
    "b": 134
  },
  "hsl": {
    "h": 222.321,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.366,
    "c": 0.13819,
    "h": 263.7
  },
  "luminance": 0.04624
}

Semantic roles & 50–950 ramp

primary
#163786
secondary
#BA953E
accent
#B939EF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #163786

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

Preview Lab → · Contrast checker → · Palette generator →

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