#163F9E#163F9E

#163F9E is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.161 H 263.3°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#163F9E
RGBrgb(22, 63, 158)
HSLhsl(222, 76%, 35%)
HSVhsv(222, 86%, 62%)
CMYKcmyk(86.1%, 60.1%, 0%, 38%)
CIE-LABlab(29.89, 23.81, -55.35)
CIE-LCHlch(29.89, 60.25, 293.27°)
OKLaboklab(40.43% -0.0188 -0.1601)
OKLCHoklch(40.43% 0.161 263.3)
XYZxyz(8.2777, 6.1932, 33.1002)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163F9E #9E7516
analogous
#16839E #163F9E #31169E
triadic
#163F9E #9E163F #3F9E16
tetradic
#163F9E #9E1683 #9E7516 #169E31
square
#163F9E #9E1683 #9E7516 #169E31
split-complementary
#163F9E #9E3116 #839E16
monochromatic
#071433 #0F2A68 #163F9E #1D54D4 #4978E6

Accessibility & contrast

On white

9.38
#163F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#163F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163F9E
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163F9E#FFFFFF#000000##FFFFFF
##163F9E1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #163f9e;
/* rgb */ color: rgb(22, 63, 158);
/* oklch */ color: oklch(40.4% 0.161 263.3);
Tailwind
colors: {
  custom: {
    50: '#6e73bb',
    500: '#163f9e',
    950: '#000000',
  },
}
SCSS
$custom: #163f9e;
$custom-light: #6e73bb;
$custom-dark: #000000;
JSON
{
  "hex": "#163f9e",
  "rgb": {
    "r": 22,
    "g": 63,
    "b": 158
  },
  "hsl": {
    "h": 221.912,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4043,
    "c": 0.16123,
    "h": 263.3
  },
  "luminance": 0.06194
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #163F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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