#163A7C#163A7C

#163A7C is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.4% C 0.120 H 261.2°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#163A7C
RGBrgb(22, 58, 124)
HSLhsl(219, 70%, 29%)
HSVhsv(219, 82%, 49%)
CMYKcmyk(82.3%, 53.2%, 0%, 51.4%)
CIE-LABlab(25.72, 13.35, -41.14)
CIE-LCHlch(25.72, 43.25, 287.98°)
OKLaboklab(36.41% -0.0182 -0.1185)
OKLCHoklch(36.41% 0.12 261.2)
XYZxyz(5.4807, 4.6513, 19.6738)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163A7C #7C5816
analogous
#166D7C #163A7C #25167C
triadic
#163A7C #7C163A #3A7C16
tetradic
#163A7C #7C166D #7C5816 #167C25
square
#163A7C #7C166D #7C5816 #167C25
split-complementary
#163A7C #7C2516 #6D7C16
monochromatic
#050C1A #0D2248 #163A7C #1F52B0 #326DDB

Accessibility & contrast

On white

10.88
#163A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#163A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163A7C
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163A7C#FFFFFF#000000##FFFFFF
##163A7C1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E427E
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#004A55
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #163a7c;
/* rgb */ color: rgb(22, 58, 124);
/* oklch */ color: oklch(36.4% 0.120 261.2);
Tailwind
colors: {
  custom: {
    50: '#656fa2',
    500: '#163a7c',
    950: '#000000',
  },
}
SCSS
$custom: #163a7c;
$custom-light: #656fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#163a7c",
  "rgb": {
    "r": 22,
    "g": 58,
    "b": 124
  },
  "hsl": {
    "h": 218.824,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36411,
    "c": 0.11988,
    "h": 261.2
  },
  "luminance": 0.04652
}

Semantic roles & 50–950 ramp

primary
#163A7C
secondary
#B1883D
accent
#AE3BED
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #163A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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