#163A78#163A78

#163A78 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.1% C 0.114 H 260.5°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#163A78
RGBrgb(22, 58, 120)
HSLhsl(218, 69%, 28%)
HSVhsv(218, 82%, 47%)
CMYKcmyk(81.7%, 51.7%, 0%, 52.9%)
CIE-LABlab(25.42, 11.68, -39.10)
CIE-LCHlch(25.42, 40.81, 286.64°)
OKLaboklab(36.09% -0.0188 -0.1125)
OKLCHoklch(36.09% 0.114 260.5)
XYZxyz(5.2329, 4.5521, 18.3685)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163A78 #785416
analogous
#166B78 #163A78 #231678
triadic
#163A78 #78163A #3A7816
tetradic
#163A78 #78166B #785416 #167823
square
#163A78 #78166B #785416 #167823
split-complementary
#163A78 #782316 #6B7816
monochromatic
#050C1A #0D2144 #163A78 #1F53AC #2F6ED9

Accessibility & contrast

On white

10.99
#163A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#163A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163A78
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163A78#FFFFFF#000000##FFFFFF
##163A781.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15417A
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#004953
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #163a78;
/* rgb */ color: rgb(22, 58, 120);
/* oklch */ color: oklch(36.1% 0.114 260.5);
Tailwind
colors: {
  custom: {
    50: '#646f9f',
    500: '#163a78',
    950: '#000000',
  },
}
SCSS
$custom: #163a78;
$custom-light: #646f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#163a78",
  "rgb": {
    "r": 22,
    "g": 58,
    "b": 120
  },
  "hsl": {
    "h": 217.959,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36088,
    "c": 0.11403,
    "h": 260.5
  },
  "luminance": 0.04553
}

Semantic roles & 50–950 ramp

primary
#163A78
secondary
#AD843C
accent
#AB3CEC
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #163A78

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

Preview Lab → · Contrast checker → · Palette generator →

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