#163F7E#163F7E

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

Color values

HEX#163F7E
RGBrgb(22, 63, 126)
HSLhsl(216, 70%, 29%)
HSVhsv(216, 83%, 49%)
CMYKcmyk(82.5%, 50%, 0%, 50.6%)
CIE-LABlab(27.38, 10.67, -39.71)
CIE-LCHlch(27.38, 41.12, 285.04°)
OKLaboklab(37.73% -0.022 -0.1141)
OKLCHoklch(37.73% 0.116 259.1)
XYZxyz(5.8729, 5.2312, 20.4348)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163F7E #7E5516
analogous
#16737E #163F7E #21167E
triadic
#163F7E #7E163F #3F7E16
tetradic
#163F7E #7E1673 #7E5516 #167E21
square
#163F7E #7E1673 #7E5516 #167E21
split-complementary
#163F7E #7E2116 #737E16
monochromatic
#050D1A #0D254A #163F7E #1F59B2 #3375DB

Accessibility & contrast

On white

10.26
#163F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #163F7E
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163F7E#FFFFFF#000000##FFFFFF
##163F7E1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #163f7e;
/* rgb */ color: rgb(22, 63, 126);
/* oklch */ color: oklch(37.7% 0.116 259.1);
Tailwind
colors: {
  custom: {
    50: '#6573a4',
    500: '#163f7e',
    950: '#000000',
  },
}
SCSS
$custom: #163f7e;
$custom-light: #6573a4;
$custom-dark: #000000;
JSON
{
  "hex": "#163f7e",
  "rgb": {
    "r": 22,
    "g": 63,
    "b": 126
  },
  "hsl": {
    "h": 216.346,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37734,
    "c": 0.11626,
    "h": 259.1
  },
  "luminance": 0.05232
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #163F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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