#163D7E#163D7E

#163D7E is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.3% C 0.119 H 260.1°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#163D7E
RGBrgb(22, 61, 126)
HSLhsl(218, 70%, 29%)
HSVhsv(218, 83%, 49%)
CMYKcmyk(82.5%, 51.6%, 0%, 50.6%)
CIE-LABlab(26.77, 12.07, -40.69)
CIE-LCHlch(26.77, 42.44, 286.52°)
OKLaboklab(37.27% -0.0204 -0.1171)
OKLCHoklch(37.27% 0.119 260.1)
XYZxyz(5.7641, 5.0137, 20.3986)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163D7E #7E5716
analogous
#16717E #163D7E #23167E
triadic
#163D7E #7E163D #3D7E16
tetradic
#163D7E #7E1671 #7E5716 #167E23
square
#163D7E #7E1671 #7E5716 #167E23
split-complementary
#163D7E #7E2316 #717E16
monochromatic
#050D1A #0D244A #163D7E #1F56B2 #3372DB

Accessibility & contrast

On white

10.49
#163D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#163D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163D7E
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163D7E#FFFFFF#000000##FFFFFF
##163D7E1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154480
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #163d7e;
/* rgb */ color: rgb(22, 61, 126);
/* oklch */ color: oklch(37.3% 0.119 260.1);
Tailwind
colors: {
  custom: {
    50: '#6671a4',
    500: '#163d7e',
    950: '#000000',
  },
}
SCSS
$custom: #163d7e;
$custom-light: #6671a4;
$custom-dark: #000000;
JSON
{
  "hex": "#163d7e",
  "rgb": {
    "r": 22,
    "g": 61,
    "b": 126
  },
  "hsl": {
    "h": 217.5,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37267,
    "c": 0.11885,
    "h": 260.1
  },
  "luminance": 0.05014
}

Semantic roles & 50–950 ramp

primary
#163D7E
secondary
#B3873D
accent
#AA3BED
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #163D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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