#163178#163178

#163178 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.0% C 0.126 H 264.7°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#163178
RGBrgb(22, 49, 120)
HSLhsl(223, 69%, 28%)
HSVhsv(223, 82%, 47%)
CMYKcmyk(81.7%, 59.2%, 0%, 52.9%)
CIE-LABlab(22.73, 18.10, -43.45)
CIE-LCHlch(22.73, 47.07, 292.61°)
OKLaboklab(34.05% -0.0117 -0.1254)
OKLCHoklch(34.05% 0.126 264.7)
XYZxyz(4.8182, 3.7227, 18.2303)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163178 #785D16
analogous
#166278 #163178 #2C1678
triadic
#163178 #781631 #317816
tetradic
#163178 #781662 #785D16 #16782C
square
#163178 #781662 #785D16 #16782C
split-complementary
#163178 #782C16 #627816
monochromatic
#050B1A #0D1C44 #163178 #1F46AC #2F5ED9

Accessibility & contrast

On white

12.04
#163178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#163178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163178
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163178#FFFFFF#000000##FFFFFF
##1631781.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7A
Deuteranopia (green-blind)
#003277
Tritanopia (blue-blind)
#00434F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #163178;
/* rgb */ color: rgb(22, 49, 120);
/* oklch */ color: oklch(34.0% 0.126 264.7);
Tailwind
colors: {
  custom: {
    50: '#6568a0',
    500: '#163178',
    950: '#000000',
  },
}
SCSS
$custom: #163178;
$custom-light: #6568a0;
$custom-dark: #000000;
JSON
{
  "hex": "#163178",
  "rgb": {
    "r": 22,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 223.469,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34049,
    "c": 0.12599,
    "h": 264.7
  },
  "luminance": 0.03723
}

Semantic roles & 50–950 ramp

primary
#163178
secondary
#AD8E3C
accent
#BB3CEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060F
muted
#7A7A7E

Preview Lab

Preview with #163178

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

Preview Lab → · Contrast checker → · Palette generator →

#163178 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva