#163778#163778

#163778 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.4% C 0.118 H 262.0°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#163778
RGBrgb(22, 55, 120)
HSLhsl(220, 69%, 28%)
HSVhsv(220, 82%, 47%)
CMYKcmyk(81.7%, 54.2%, 0%, 52.9%)
CIE-LABlab(24.51, 13.81, -40.57)
CIE-LCHlch(24.51, 42.86, 288.80°)
OKLaboklab(35.39% -0.0163 -0.1169)
OKLCHoklch(35.39% 0.118 262)
XYZxyz(5.0860, 4.2584, 18.3196)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163778 #785716
analogous
#166878 #163778 #261678
triadic
#163778 #781637 #377816
tetradic
#163778 #781668 #785716 #167826
square
#163778 #781668 #785716 #167826
split-complementary
#163778 #782616 #687816
monochromatic
#050C1A #0D1F44 #163778 #1F4FAC #2F69D9

Accessibility & contrast

On white

11.34
#163778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#163778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163778
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163778#FFFFFF#000000##FFFFFF
##1637781.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3F7A
Deuteranopia (green-blind)
#003677
Tritanopia (blue-blind)
#004752
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #163778;
/* rgb */ color: rgb(22, 55, 120);
/* oklch */ color: oklch(35.4% 0.118 262.0);
Tailwind
colors: {
  custom: {
    50: '#646d9f',
    500: '#163778',
    950: '#000000',
  },
}
SCSS
$custom: #163778;
$custom-light: #646d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#163778",
  "rgb": {
    "r": 22,
    "g": 55,
    "b": 120
  },
  "hsl": {
    "h": 219.796,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35393,
    "c": 0.118,
    "h": 262
  },
  "luminance": 0.04259
}

Semantic roles & 50–950 ramp

primary
#163778
secondary
#AD873C
accent
#B13CEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070F
muted
#7A7A7E

Preview Lab

Preview with #163778

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

Preview Lab → · Contrast checker → · Palette generator →

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