#163A7B#163A7B

#163A7B is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.3% C 0.118 H 261.1°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#163A7B
RGBrgb(22, 58, 123)
HSLhsl(219, 70%, 28%)
HSVhsv(219, 82%, 48%)
CMYKcmyk(82.1%, 52.8%, 0%, 51.8%)
CIE-LABlab(25.64, 12.94, -40.63)
CIE-LCHlch(25.64, 42.64, 287.66°)
OKLaboklab(36.33% -0.0184 -0.117)
OKLCHoklch(36.33% 0.118 261.1)
XYZxyz(5.4178, 4.6261, 19.3424)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163A7B #7B5716
analogous
#166C7B #163A7B #24167B
triadic
#163A7B #7B163A #3A7B16
tetradic
#163A7B #7B166C #7B5716 #167B24
square
#163A7B #7B166C #7B5716 #167B24
split-complementary
#163A7B #7B2416 #6C7B16
monochromatic
#050C1A #0D2247 #163A7B #1F52AF #316DDA

Accessibility & contrast

On white

10.91
#163A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #163A7B
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163A7B#FFFFFF#000000##FFFFFF
##163A7B1.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10427D
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#004A54
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #163a7b;
/* rgb */ color: rgb(22, 58, 123);
/* oklch */ color: oklch(36.3% 0.118 261.1);
Tailwind
colors: {
  custom: {
    50: '#656fa2',
    500: '#163a7b',
    950: '#000000',
  },
}
SCSS
$custom: #163a7b;
$custom-light: #656fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#163a7b",
  "rgb": {
    "r": 22,
    "g": 58,
    "b": 123
  },
  "hsl": {
    "h": 218.614,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3633,
    "c": 0.11841,
    "h": 261.1
  },
  "luminance": 0.04627
}

Semantic roles & 50–950 ramp

primary
#163A7B
secondary
#B0873D
accent
#AD3BEC
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#06070F
muted
#7A7A7F

Preview Lab

Preview with #163A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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