#163A9E#163A9E

#163A9E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.167 H 264.5°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#163A9E
RGBrgb(22, 58, 158)
HSLhsl(224, 76%, 35%)
HSVhsv(224, 86%, 62%)
CMYKcmyk(86.1%, 63.3%, 0%, 38%)
CIE-LABlab(28.55, 27.22, -57.55)
CIE-LCHlch(28.55, 63.66, 295.31°)
OKLaboklab(39.43% -0.0161 -0.1666)
OKLCHoklch(39.43% 0.167 264.5)
XYZxyz(8.0133, 5.6643, 33.0121)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163A9E #9E7A16
analogous
#167E9E #163A9E #36169E
triadic
#163A9E #9E163A #3A9E16
tetradic
#163A9E #9E167E #9E7A16 #169E36
square
#163A9E #9E167E #9E7A16 #169E36
split-complementary
#163A9E #9E3616 #7E9E16
monochromatic
#071333 #0F2668 #163A9E #1D4ED4 #4972E6

Accessibility & contrast

On white

9.85
#163A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#163A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163A9E
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163A9E#FFFFFF#000000##FFFFFF
##163A9E1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #163a9e;
/* rgb */ color: rgb(22, 58, 158);
/* oklch */ color: oklch(39.4% 0.167 264.5);
Tailwind
colors: {
  custom: {
    50: '#6f6fbc',
    500: '#163a9e',
    950: '#000000',
  },
}
SCSS
$custom: #163a9e;
$custom-light: #6f6fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#163a9e",
  "rgb": {
    "r": 22,
    "g": 58,
    "b": 158
  },
  "hsl": {
    "h": 224.118,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39427,
    "c": 0.16742,
    "h": 264.5
  },
  "luminance": 0.05665
}

Semantic roles & 50–950 ramp

primary
#163A9E
secondary
#C7A649
accent
#C036F2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #163A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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