#163F7F#163F7F

#163F7F is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.8% C 0.118 H 259.3°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#163F7F
RGBrgb(22, 63, 127)
HSLhsl(217, 70%, 29%)
HSVhsv(217, 83%, 50%)
CMYKcmyk(82.7%, 50.4%, 0%, 50.2%)
CIE-LABlab(27.46, 11.09, -40.22)
CIE-LCHlch(27.46, 41.72, 285.41°)
OKLaboklab(37.81% -0.0219 -0.1157)
OKLCHoklch(37.81% 0.118 259.3)
XYZxyz(5.9377, 5.2572, 20.7764)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163F7F #7F5616
analogous
#16747F #163F7F #21167F
triadic
#163F7F #7F163F #3F7F16
tetradic
#163F7F #7F1674 #7F5616 #167F21
square
#163F7F #7F1674 #7F5616 #167F21
split-complementary
#163F7F #7F2116 #747F16
monochromatic
#050D1A #0D254B #163F7F #1F59B3 #3475DC

Accessibility & contrast

On white

10.24
#163F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#163F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163F7F
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163F7F#FFFFFF#000000##FFFFFF
##163F7F1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4681
Deuteranopia (green-blind)
#003C7E
Tritanopia (blue-blind)
#004E59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #163f7f;
/* rgb */ color: rgb(22, 63, 127);
/* oklch */ color: oklch(37.8% 0.118 259.3);
Tailwind
colors: {
  custom: {
    50: '#6673a5',
    500: '#163f7f',
    950: '#000000',
  },
}
SCSS
$custom: #163f7f;
$custom-light: #6673a5;
$custom-dark: #000000;
JSON
{
  "hex": "#163f7f",
  "rgb": {
    "r": 22,
    "g": 63,
    "b": 127
  },
  "hsl": {
    "h": 216.571,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37812,
    "c": 0.11771,
    "h": 259.3
  },
  "luminance": 0.05258
}

Semantic roles & 50–950 ramp

primary
#163F7F
secondary
#B4853D
accent
#A73BED
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #163F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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