#163286#163286

#163286 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.6% C 0.145 H 265.3°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#163286
RGBrgb(22, 50, 134)
HSLhsl(225, 72%, 31%)
HSVhsv(225, 84%, 53%)
CMYKcmyk(83.6%, 62.7%, 0%, 47.5%)
CIE-LABlab(24.23, 23.12, -49.83)
CIE-LCHlch(24.23, 54.94, 294.89°)
OKLaboklab(35.55% -0.0118 -0.1442)
OKLCHoklch(35.55% 0.145 265.3)
XYZxyz(5.7730, 4.1723, 23.0507)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163286 #866A16
analogous
#166A86 #163286 #321686
triadic
#163286 #861632 #328616
tetradic
#163286 #86166A #866A16 #168632
square
#163286 #86166A #866A16 #168632
split-complementary
#163286 #863216 #6A8616
monochromatic
#050B1D #0D1E51 #163286 #1F46BB #3862DE

Accessibility & contrast

On white

11.45
#163286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#163286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163286
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163286#FFFFFF#000000##FFFFFF
##1632861.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #163286;
/* rgb */ color: rgb(22, 50, 134);
/* oklch */ color: oklch(35.6% 0.145 265.3);
Tailwind
colors: {
  custom: {
    50: '#6969aa',
    500: '#163286',
    950: '#000000',
  },
}
SCSS
$custom: #163286;
$custom-light: #6969aa;
$custom-dark: #000000;
JSON
{
  "hex": "#163286",
  "rgb": {
    "r": 22,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 225,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35551,
    "c": 0.14465,
    "h": 265.3
  },
  "luminance": 0.04173
}

Semantic roles & 50–950 ramp

primary
#163286
secondary
#BA9B3E
accent
#C139EF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #163286

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

Preview Lab → · Contrast checker → · Palette generator →

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