#163F9D#163F9D

#163F9D is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.3% C 0.160 H 263.2°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#163F9D
RGBrgb(22, 63, 157)
HSLhsl(222, 75%, 35%)
HSVhsv(222, 86%, 62%)
CMYKcmyk(86%, 59.9%, 0%, 38.4%)
CIE-LABlab(29.81, 23.41, -54.88)
CIE-LCHlch(29.81, 59.66, 293.10°)
OKLaboklab(40.34% -0.0188 -0.1588)
OKLCHoklch(40.34% 0.16 263.2)
XYZxyz(8.1920, 6.1589, 32.6488)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163F9D #9D7416
analogous
#16829D #163F9D #31169D
triadic
#163F9D #9D163F #3F9D16
tetradic
#163F9D #9D1682 #9D7416 #169D31
square
#163F9D #9D1682 #9D7416 #169D31
split-complementary
#163F9D #9D3116 #829D16
monochromatic
#071432 #0E2967 #163F9D #1E55D3 #4878E5

Accessibility & contrast

On white

9.41
#163F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#163F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163F9D
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163F9D#FFFFFF#000000##FFFFFF
##163F9D1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#00409B
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #163f9d;
/* rgb */ color: rgb(22, 63, 157);
/* oklch */ color: oklch(40.3% 0.160 263.2);
Tailwind
colors: {
  custom: {
    50: '#6e73bb',
    500: '#163f9d',
    950: '#000000',
  },
}
SCSS
$custom: #163f9d;
$custom-light: #6e73bb;
$custom-dark: #000000;
JSON
{
  "hex": "#163f9d",
  "rgb": {
    "r": 22,
    "g": 63,
    "b": 157
  },
  "hsl": {
    "h": 221.778,
    "s": 75.419,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4034,
    "c": 0.15987,
    "h": 263.2
  },
  "luminance": 0.0616
}

Semantic roles & 50–950 ramp

primary
#163F9D
secondary
#C7A048
accent
#B936F2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #163F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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