#163879#163879

#163879 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.7% C 0.118 H 261.7°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#163879
RGBrgb(22, 56, 121)
HSLhsl(219, 69%, 28%)
HSVhsv(219, 82%, 47%)
CMYKcmyk(81.8%, 53.7%, 0%, 52.5%)
CIE-LABlab(24.89, 13.52, -40.59)
CIE-LCHlch(24.89, 42.78, 288.42°)
OKLaboklab(35.71% -0.017 -0.1169)
OKLCHoklch(35.71% 0.118 261.7)
XYZxyz(5.1950, 4.3788, 18.6568)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163879 #795716
analogous
#166979 #163879 #251679
triadic
#163879 #791638 #387916
tetradic
#163879 #791669 #795716 #167925
square
#163879 #791669 #795716 #167925
split-complementary
#163879 #792516 #697916
monochromatic
#050C1A #0D2045 #163879 #1F50AD #306AD9

Accessibility & contrast

On white

11.20
#163879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#163879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163879
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163879#FFFFFF#000000##FFFFFF
##1638791.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C407B
Deuteranopia (green-blind)
#003778
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #163879;
/* rgb */ color: rgb(22, 56, 121);
/* oklch */ color: oklch(35.7% 0.118 261.7);
Tailwind
colors: {
  custom: {
    50: '#656ea0',
    500: '#163879',
    950: '#000000',
  },
}
SCSS
$custom: #163879;
$custom-light: #656ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#163879",
  "rgb": {
    "r": 22,
    "g": 56,
    "b": 121
  },
  "hsl": {
    "h": 219.394,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35705,
    "c": 0.11813,
    "h": 261.7
  },
  "luminance": 0.04379
}

Semantic roles & 50–950 ramp

primary
#163879
secondary
#AE873D
accent
#B03CEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070F
muted
#7A7A7E

Preview Lab

Preview with #163879

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

Preview Lab → · Contrast checker → · Palette generator →

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