#163C9E#163C9E

#163C9E is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.165 H 264.0°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#163C9E
RGBrgb(22, 60, 158)
HSLhsl(223, 76%, 35%)
HSVhsv(223, 86%, 62%)
CMYKcmyk(86.1%, 62%, 0%, 38%)
CIE-LABlab(29.08, 25.86, -56.68)
CIE-LCHlch(29.08, 62.30, 294.52°)
OKLaboklab(39.82% -0.0171 -0.1641)
OKLCHoklch(39.82% 0.165 264)
XYZxyz(8.1161, 5.8699, 33.0464)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163C9E #9E7816
analogous
#16809E #163C9E #34169E
triadic
#163C9E #9E163C #3C9E16
tetradic
#163C9E #9E1680 #9E7816 #169E34
square
#163C9E #9E1680 #9E7816 #169E34
split-complementary
#163C9E #9E3416 #809E16
monochromatic
#071333 #0F2868 #163C9E #1D50D4 #4975E6

Accessibility & contrast

On white

9.66
#163C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#163C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163C9E
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163C9E#FFFFFF#000000##FFFFFF
##163C9E1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #163c9e;
/* rgb */ color: rgb(22, 60, 158);
/* oklch */ color: oklch(39.8% 0.165 264.0);
Tailwind
colors: {
  custom: {
    50: '#6e71bc',
    500: '#163c9e',
    950: '#000000',
  },
}
SCSS
$custom: #163c9e;
$custom-light: #6e71bc;
$custom-dark: #000000;
JSON
{
  "hex": "#163c9e",
  "rgb": {
    "r": 22,
    "g": 60,
    "b": 158
  },
  "hsl": {
    "h": 223.235,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39823,
    "c": 0.16496,
    "h": 264
  },
  "luminance": 0.05871
}

Semantic roles & 50–950 ramp

primary
#163C9E
secondary
#C7A449
accent
#BD36F2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #163C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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