#163D9E#163D9E

#163D9E is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.164 H 263.8°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#163D9E
RGBrgb(22, 61, 158)
HSLhsl(223, 76%, 35%)
HSVhsv(223, 86%, 62%)
CMYKcmyk(86.1%, 61.4%, 0%, 38%)
CIE-LABlab(29.35, 25.18, -56.24)
CIE-LCHlch(29.35, 61.62, 294.12°)
OKLaboklab(40.02% -0.0177 -0.1628)
OKLCHoklch(40.02% 0.164 263.8)
XYZxyz(8.1690, 5.9757, 33.0640)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163D9E #9E7716
analogous
#16819E #163D9E #33169E
triadic
#163D9E #9E163D #3D9E16
tetradic
#163D9E #9E1681 #9E7716 #169E33
square
#163D9E #9E1681 #9E7716 #169E33
split-complementary
#163D9E #9E3316 #819E16
monochromatic
#071433 #0F2868 #163D9E #1D52D4 #4976E6

Accessibility & contrast

On white

9.57
#163D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#163D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163D9E
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163D9E#FFFFFF#000000##FFFFFF
##163D9E1.009.572.209.57
#FFFFFF9.571.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #163d9e;
/* rgb */ color: rgb(22, 61, 158);
/* oklch */ color: oklch(40.0% 0.164 263.8);
Tailwind
colors: {
  custom: {
    50: '#6e72bc',
    500: '#163d9e',
    950: '#000000',
  },
}
SCSS
$custom: #163d9e;
$custom-light: #6e72bc;
$custom-dark: #000000;
JSON
{
  "hex": "#163d9e",
  "rgb": {
    "r": 22,
    "g": 61,
    "b": 158
  },
  "hsl": {
    "h": 222.794,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40024,
    "c": 0.16373,
    "h": 263.8
  },
  "luminance": 0.05977
}

Semantic roles & 50–950 ramp

primary
#163D9E
secondary
#C7A349
accent
#BC36F2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #163D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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