#163A7E#163A7E

#163A7E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.6% C 0.123 H 261.6°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#163A7E
RGBrgb(22, 58, 126)
HSLhsl(219, 70%, 29%)
HSVhsv(219, 83%, 49%)
CMYKcmyk(82.5%, 54%, 0%, 50.6%)
CIE-LABlab(25.87, 14.19, -42.15)
CIE-LCHlch(25.87, 44.48, 288.60°)
OKLaboklab(36.58% -0.018 -0.1215)
OKLCHoklch(36.58% 0.123 261.6)
XYZxyz(5.6085, 4.7024, 20.3467)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163A7E #7E5A16
analogous
#166E7E #163A7E #26167E
triadic
#163A7E #7E163A #3A7E16
tetradic
#163A7E #7E166E #7E5A16 #167E26
square
#163A7E #7E166E #7E5A16 #167E26
split-complementary
#163A7E #7E2616 #6E7E16
monochromatic
#050C1A #0D224A #163A7E #1F52B2 #336DDB

Accessibility & contrast

On white

10.82
#163A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#163A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163A7E
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163A7E#FFFFFF#000000##FFFFFF
##163A7E1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4280
Deuteranopia (green-blind)
#00397D
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #163a7e;
/* rgb */ color: rgb(22, 58, 126);
/* oklch */ color: oklch(36.6% 0.123 261.6);
Tailwind
colors: {
  custom: {
    50: '#666fa4',
    500: '#163a7e',
    950: '#000000',
  },
}
SCSS
$custom: #163a7e;
$custom-light: #666fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#163a7e",
  "rgb": {
    "r": 22,
    "g": 58,
    "b": 126
  },
  "hsl": {
    "h": 219.231,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36576,
    "c": 0.12278,
    "h": 261.6
  },
  "luminance": 0.04703
}

Semantic roles & 50–950 ramp

primary
#163A7E
secondary
#B38A3D
accent
#AF3BED
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #163A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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