#163F7B#163F7B

#163F7B is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.5% C 0.112 H 258.4°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#163F7B
RGBrgb(22, 63, 123)
HSLhsl(216, 70%, 28%)
HSVhsv(216, 82%, 48%)
CMYKcmyk(82.1%, 48.8%, 0%, 51.8%)
CIE-LABlab(27.17, 9.42, -38.17)
CIE-LCHlch(27.17, 39.31, 283.87°)
OKLaboklab(37.5% -0.0226 -0.1096)
OKLCHoklch(37.5% 0.112 258.4)
XYZxyz(5.6822, 5.1550, 19.4306)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163F7B #7B5216
analogous
#16717B #163F7B #20167B
triadic
#163F7B #7B163F #3F7B16
tetradic
#163F7B #7B1671 #7B5216 #167B20
square
#163F7B #7B1671 #7B5216 #167B20
split-complementary
#163F7B #7B2016 #717B16
monochromatic
#050D1A #0D2447 #163F7B #1F5AAF #3176DA

Accessibility & contrast

On white

10.34
#163F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#163F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163F7B
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163F7B#FFFFFF#000000##FFFFFF
##163F7B1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E457D
Deuteranopia (green-blind)
#023C7A
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #163f7b;
/* rgb */ color: rgb(22, 63, 123);
/* oklch */ color: oklch(37.5% 0.112 258.4);
Tailwind
colors: {
  custom: {
    50: '#6573a2',
    500: '#163f7b',
    950: '#000000',
  },
}
SCSS
$custom: #163f7b;
$custom-light: #6573a2;
$custom-dark: #000000;
JSON
{
  "hex": "#163f7b",
  "rgb": {
    "r": 22,
    "g": 63,
    "b": 123
  },
  "hsl": {
    "h": 215.644,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.37504,
    "c": 0.11191,
    "h": 258.4
  },
  "luminance": 0.05156
}

Semantic roles & 50–950 ramp

primary
#163F7B
secondary
#B0813D
accent
#A53BEC
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#06080F
muted
#7A7B7F

Preview Lab

Preview with #163F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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