#163D7F#163D7F

#163D7F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.3% C 0.120 H 260.3°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#163D7F
RGBrgb(22, 61, 127)
HSLhsl(218, 70%, 29%)
HSVhsv(218, 83%, 50%)
CMYKcmyk(82.7%, 52%, 0%, 50.2%)
CIE-LABlab(26.85, 12.49, -41.20)
CIE-LCHlch(26.85, 43.05, 286.86°)
OKLaboklab(37.35% -0.0202 -0.1186)
OKLCHoklch(37.35% 0.12 260.3)
XYZxyz(5.8290, 5.0397, 20.7401)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163D7F #7F5816
analogous
#16727F #163D7F #23167F
triadic
#163D7F #7F163D #3D7F16
tetradic
#163D7F #7F1672 #7F5816 #167F23
square
#163D7F #7F1672 #7F5816 #167F23
split-complementary
#163D7F #7F2316 #727F16
monochromatic
#050D1A #0D244B #163D7F #1F56B3 #3472DC

Accessibility & contrast

On white

10.46
#163D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#163D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163D7F
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163D7F#FFFFFF#000000##FFFFFF
##163D7F1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144581
Deuteranopia (green-blind)
#003B7E
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #163d7f;
/* rgb */ color: rgb(22, 61, 127);
/* oklch */ color: oklch(37.3% 0.120 260.3);
Tailwind
colors: {
  custom: {
    50: '#6671a5',
    500: '#163d7f',
    950: '#000000',
  },
}
SCSS
$custom: #163d7f;
$custom-light: #6671a5;
$custom-dark: #000000;
JSON
{
  "hex": "#163d7f",
  "rgb": {
    "r": 22,
    "g": 61,
    "b": 127
  },
  "hsl": {
    "h": 217.714,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37346,
    "c": 0.1203,
    "h": 260.3
  },
  "luminance": 0.0504
}

Semantic roles & 50–950 ramp

primary
#163D7F
secondary
#B4883D
accent
#AB3BED
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #163D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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