#163A8F#163A8F

#163A8F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.0% C 0.147 H 263.6°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#163A8F
RGBrgb(22, 58, 143)
HSLhsl(222, 73%, 32%)
HSVhsv(222, 85%, 56%)
CMYKcmyk(84.6%, 59.4%, 0%, 43.9%)
CIE-LABlab(27.24, 21.19, -50.51)
CIE-LCHlch(27.24, 54.78, 292.76°)
OKLaboklab(38.04% -0.0165 -0.146)
OKLCHoklch(38.04% 0.147 263.6)
XYZxyz(6.8001, 5.1790, 26.6225)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163A8F #8F6B16
analogous
#16768F #163A8F #2F168F
triadic
#163A8F #8F163A #3A8F16
tetradic
#163A8F #8F1676 #8F6B16 #168F2F
square
#163A8F #8F1676 #8F6B16 #168F2F
split-complementary
#163A8F #8F2F16 #768F16
monochromatic
#060F25 #0E245A #163A8F #1E50C4 #3E6FE1

Accessibility & contrast

On white

10.31
#163A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#163A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163A8F
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163A8F#FFFFFF#000000##FFFFFF
##163A8F1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #163a8f;
/* rgb */ color: rgb(22, 58, 143);
/* oklch */ color: oklch(38.0% 0.147 263.6);
Tailwind
colors: {
  custom: {
    50: '#6a6fb1',
    500: '#163a8f',
    950: '#000000',
  },
}
SCSS
$custom: #163a8f;
$custom-light: #6a6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#163a8f",
  "rgb": {
    "r": 22,
    "g": 58,
    "b": 143
  },
  "hsl": {
    "h": 222.149,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38042,
    "c": 0.14695,
    "h": 263.6
  },
  "luminance": 0.0518
}

Semantic roles & 50–950 ramp

primary
#163A8F
secondary
#C19B3F
accent
#B938F0
background
#F6F6FB
surface
#ECECF6
border
#C7C7D0
text
#080711
muted
#7A7A80

Preview Lab

Preview with #163A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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