#163A7F#163A7F

#163A7F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.7% C 0.124 H 261.7°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#163A7F
RGBrgb(22, 58, 127)
HSLhsl(219, 70%, 29%)
HSVhsv(219, 83%, 50%)
CMYKcmyk(82.7%, 54.3%, 0%, 50.2%)
CIE-LABlab(25.95, 14.60, -42.66)
CIE-LCHlch(25.95, 45.09, 288.90°)
OKLaboklab(36.66% -0.0179 -0.1229)
OKLCHoklch(36.66% 0.124 261.7)
XYZxyz(5.6733, 4.7283, 20.6882)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163A7F #7F5B16
analogous
#166F7F #163A7F #27167F
triadic
#163A7F #7F163A #3A7F16
tetradic
#163A7F #7F166F #7F5B16 #167F27
square
#163A7F #7F166F #7F5B16 #167F27
split-complementary
#163A7F #7F2716 #6F7F16
monochromatic
#050C1A #0D224B #163A7F #1F52B3 #346DDC

Accessibility & contrast

On white

10.79
#163A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#163A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163A7F
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163A7F#FFFFFF#000000##FFFFFF
##163A7F1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084281
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #163a7f;
/* rgb */ color: rgb(22, 58, 127);
/* oklch */ color: oklch(36.7% 0.124 261.7);
Tailwind
colors: {
  custom: {
    50: '#666fa5',
    500: '#163a7f',
    950: '#000000',
  },
}
SCSS
$custom: #163a7f;
$custom-light: #666fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#163a7f",
  "rgb": {
    "r": 22,
    "g": 58,
    "b": 127
  },
  "hsl": {
    "h": 219.429,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36659,
    "c": 0.12423,
    "h": 261.7
  },
  "luminance": 0.04729
}

Semantic roles & 50–950 ramp

primary
#163A7F
secondary
#B48B3D
accent
#B03BED
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #163A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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