#163D7B#163D7B

#163D7B is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.0% C 0.114 H 259.5°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#163D7B
RGBrgb(22, 61, 123)
HSLhsl(217, 70%, 28%)
HSVhsv(217, 82%, 48%)
CMYKcmyk(82.1%, 50.4%, 0%, 51.8%)
CIE-LABlab(26.56, 10.82, -39.16)
CIE-LCHlch(26.56, 40.63, 285.45°)
OKLaboklab(37.03% -0.0208 -0.1126)
OKLCHoklch(37.03% 0.114 259.5)
XYZxyz(5.5735, 4.9375, 19.3943)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163D7B #7B5416
analogous
#166F7B #163D7B #22167B
triadic
#163D7B #7B163D #3D7B16
tetradic
#163D7B #7B166F #7B5416 #167B22
square
#163D7B #7B166F #7B5416 #167B22
split-complementary
#163D7B #7B2216 #6F7B16
monochromatic
#050D1A #0D2347 #163D7B #1F57AF #3172DA

Accessibility & contrast

On white

10.57
#163D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#163D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163D7B
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163D7B#FFFFFF#000000##FFFFFF
##163D7B1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19447D
Deuteranopia (green-blind)
#003B7A
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #163d7b;
/* rgb */ color: rgb(22, 61, 123);
/* oklch */ color: oklch(37.0% 0.114 259.5);
Tailwind
colors: {
  custom: {
    50: '#6571a2',
    500: '#163d7b',
    950: '#000000',
  },
}
SCSS
$custom: #163d7b;
$custom-light: #6571a2;
$custom-dark: #000000;
JSON
{
  "hex": "#163d7b",
  "rgb": {
    "r": 22,
    "g": 61,
    "b": 123
  },
  "hsl": {
    "h": 216.832,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3703,
    "c": 0.11449,
    "h": 259.5
  },
  "luminance": 0.04938
}

Semantic roles & 50–950 ramp

primary
#163D7B
secondary
#B0843D
accent
#A83BEC
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#06070F
muted
#7A7A7F

Preview Lab

Preview with #163D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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