#163A7A#163A7A

#163A7A is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.2% C 0.117 H 260.9°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#163A7A
RGBrgb(22, 58, 122)
HSLhsl(218, 69%, 28%)
HSVhsv(218, 82%, 48%)
CMYKcmyk(82%, 52.5%, 0%, 52.2%)
CIE-LABlab(25.57, 12.52, -40.12)
CIE-LCHlch(25.57, 42.03, 287.33°)
OKLaboklab(36.25% -0.0185 -0.1155)
OKLCHoklch(36.25% 0.117 260.9)
XYZxyz(5.3555, 4.6012, 19.0144)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163A7A #7A5616
analogous
#166C7A #163A7A #24167A
triadic
#163A7A #7A163A #3A7A16
tetradic
#163A7A #7A166C #7A5616 #167A24
square
#163A7A #7A166C #7A5616 #167A24
split-complementary
#163A7A #7A2416 #6C7A16
monochromatic
#050C1A #0D2146 #163A7A #1F53AE #316EDA

Accessibility & contrast

On white

10.94
#163A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#163A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163A7A
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163A7A#FFFFFF#000000##FFFFFF
##163A7A1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12417C
Deuteranopia (green-blind)
#003879
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #163a7a;
/* rgb */ color: rgb(22, 58, 122);
/* oklch */ color: oklch(36.2% 0.117 260.9);
Tailwind
colors: {
  custom: {
    50: '#656fa1',
    500: '#163a7a',
    950: '#000000',
  },
}
SCSS
$custom: #163a7a;
$custom-light: #656fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#163a7a",
  "rgb": {
    "r": 22,
    "g": 58,
    "b": 122
  },
  "hsl": {
    "h": 218.4,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36249,
    "c": 0.11695,
    "h": 260.9
  },
  "luminance": 0.04602
}

Semantic roles & 50–950 ramp

primary
#163A7A
secondary
#AF863D
accent
#AD3CEC
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#06070F
muted
#7A7A7F

Preview Lab

Preview with #163A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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