#163D8E#163D8E

#163D8E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.6% C 0.142 H 262.5°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#163D8E
RGBrgb(22, 61, 142)
HSLhsl(221, 73%, 32%)
HSVhsv(221, 85%, 56%)
CMYKcmyk(84.5%, 57%, 0%, 44.3%)
CIE-LABlab(28.01, 18.69, -48.64)
CIE-LCHlch(28.01, 52.11, 291.02°)
OKLaboklab(38.6% -0.0185 -0.1405)
OKLCHoklch(38.6% 0.142 262.5)
XYZxyz(6.8803, 5.4602, 26.2772)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163D8E #8E6716
analogous
#16798E #163D8E #2B168E
triadic
#163D8E #8E163D #3D8E16
tetradic
#163D8E #8E1679 #8E6716 #168E2B
square
#163D8E #8E1679 #8E6716 #168E2B
split-complementary
#163D8E #8E2B16 #798E16
monochromatic
#060F24 #0E2659 #163D8E #1E54C3 #3D73E1

Accessibility & contrast

On white

10.04
#163D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#163D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163D8E
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163D8E#FFFFFF#000000##FFFFFF
##163D8E1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #163d8e;
/* rgb */ color: rgb(22, 61, 142);
/* oklch */ color: oklch(38.6% 0.142 262.5);
Tailwind
colors: {
  custom: {
    50: '#6a71b0',
    500: '#163d8e',
    950: '#000000',
  },
}
SCSS
$custom: #163d8e;
$custom-light: #6a71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#163d8e",
  "rgb": {
    "r": 22,
    "g": 61,
    "b": 142
  },
  "hsl": {
    "h": 220.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38596,
    "c": 0.1417,
    "h": 262.5
  },
  "luminance": 0.05461
}

Semantic roles & 50–950 ramp

primary
#163D8E
secondary
#C1973F
accent
#B438F0
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #163D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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