#163E8A#163E8A

#163E8A is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.5% C 0.135 H 261.6°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#163E8A
RGBrgb(22, 62, 138)
HSLhsl(219, 73%, 31%)
HSVhsv(219, 84%, 54%)
CMYKcmyk(84.1%, 55.1%, 0%, 45.9%)
CIE-LABlab(27.98, 16.35, -46.22)
CIE-LCHlch(27.98, 49.02, 289.48°)
OKLaboklab(38.48% -0.0196 -0.1333)
OKLCHoklch(38.48% 0.135 261.6)
XYZxyz(6.6393, 5.4500, 24.7419)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163E8A #8A6216
analogous
#16788A #163E8A #28168A
triadic
#163E8A #8A163E #3E8A16
tetradic
#163E8A #8A1678 #8A6216 #168A28
square
#163E8A #8A1678 #8A6216 #168A28
split-complementary
#163E8A #8A2816 #788A16
monochromatic
#050F20 #0E2655 #163E8A #1E56BF #3B74E0

Accessibility & contrast

On white

10.05
#163E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#163E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163E8A
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163E8A#FFFFFF#000000##FFFFFF
##163E8A1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488D
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #163e8a;
/* rgb */ color: rgb(22, 62, 138);
/* oklch */ color: oklch(38.5% 0.135 261.6);
Tailwind
colors: {
  custom: {
    50: '#6972ad',
    500: '#163e8a',
    950: '#000000',
  },
}
SCSS
$custom: #163e8a;
$custom-light: #6972ad;
$custom-dark: #000000;
JSON
{
  "hex": "#163e8a",
  "rgb": {
    "r": 22,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 219.31,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38475,
    "c": 0.13476,
    "h": 261.6
  },
  "luminance": 0.05451
}

Semantic roles & 50–950 ramp

primary
#163E8A
secondary
#BE923E
accent
#B039EF
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #163E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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