#163F7D#163F7D

#163F7D is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.7% C 0.115 H 258.9°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#163F7D
RGBrgb(22, 63, 125)
HSLhsl(216, 70%, 29%)
HSVhsv(216, 82%, 49%)
CMYKcmyk(82.4%, 49.6%, 0%, 51%)
CIE-LABlab(27.31, 10.25, -39.20)
CIE-LCHlch(27.31, 40.51, 284.66°)
OKLaboklab(37.66% -0.0222 -0.1126)
OKLCHoklch(37.66% 0.115 258.9)
XYZxyz(5.8087, 5.2056, 20.0967)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163F7D #7D5416
analogous
#16737D #163F7D #21167D
triadic
#163F7D #7D163F #3F7D16
tetradic
#163F7D #7D1673 #7D5416 #167D21
square
#163F7D #7D1673 #7D5416 #167D21
split-complementary
#163F7D #7D2116 #737D16
monochromatic
#050D1A #0D2549 #163F7D #1F59B1 #3276DB

Accessibility & contrast

On white

10.29
#163F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#163F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163F7D
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163F7D#FFFFFF#000000##FFFFFF
##163F7D1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C457F
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #163f7d;
/* rgb */ color: rgb(22, 63, 125);
/* oklch */ color: oklch(37.7% 0.115 258.9);
Tailwind
colors: {
  custom: {
    50: '#6573a3',
    500: '#163f7d',
    950: '#000000',
  },
}
SCSS
$custom: #163f7d;
$custom-light: #6573a3;
$custom-dark: #000000;
JSON
{
  "hex": "#163f7d",
  "rgb": {
    "r": 22,
    "g": 63,
    "b": 125
  },
  "hsl": {
    "h": 216.117,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37657,
    "c": 0.11481,
    "h": 258.9
  },
  "luminance": 0.05206
}

Semantic roles & 50–950 ramp

primary
#163F7D
secondary
#B2833D
accent
#A63BED
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #163F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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