#163D81#163D81

#163D81 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.5% C 0.123 H 260.7°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#163D81
RGBrgb(22, 61, 129)
HSLhsl(218, 71%, 30%)
HSVhsv(218, 83%, 51%)
CMYKcmyk(82.9%, 52.7%, 0%, 49.4%)
CIE-LABlab(27.00, 13.32, -42.21)
CIE-LCHlch(27.00, 44.26, 287.51°)
OKLaboklab(37.51% -0.0199 -0.1216)
OKLCHoklch(37.51% 0.123 260.7)
XYZxyz(5.9606, 5.0923, 21.4334)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163D81 #815A16
analogous
#167381 #163D81 #251681
triadic
#163D81 #81163D #3D8116
tetradic
#163D81 #811673 #815A16 #168125
square
#163D81 #811673 #815A16 #168125
split-complementary
#163D81 #812516 #738116
monochromatic
#040C1A #0D244D #163D81 #1F56B5 #3572DD

Accessibility & contrast

On white

10.40
#163D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#163D81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163D81
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163D81#FFFFFF#000000##FFFFFF
##163D811.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104583
Deuteranopia (green-blind)
#003B80
Tritanopia (blue-blind)
#004E59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #163d81;
/* rgb */ color: rgb(22, 61, 129);
/* oklch */ color: oklch(37.5% 0.123 260.7);
Tailwind
colors: {
  custom: {
    50: '#6671a6',
    500: '#163d81',
    950: '#000000',
  },
}
SCSS
$custom: #163d81;
$custom-light: #6671a6;
$custom-dark: #000000;
JSON
{
  "hex": "#163d81",
  "rgb": {
    "r": 22,
    "g": 61,
    "b": 129
  },
  "hsl": {
    "h": 218.131,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37508,
    "c": 0.12319,
    "h": 260.7
  },
  "luminance": 0.05093
}

Semantic roles & 50–950 ramp

primary
#163D81
secondary
#B68A3D
accent
#AC3AEE
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #163D81

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

Preview Lab → · Contrast checker → · Palette generator →

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