#163278#163278

#163278 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.3% C 0.125 H 264.3°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#163278
RGBrgb(22, 50, 120)
HSLhsl(223, 69%, 28%)
HSVhsv(223, 82%, 47%)
CMYKcmyk(81.7%, 58.3%, 0%, 52.9%)
CIE-LABlab(23.02, 17.38, -42.98)
CIE-LCHlch(23.02, 46.36, 292.02°)
OKLaboklab(34.27% -0.0124 -0.124)
OKLCHoklch(34.27% 0.125 264.3)
XYZxyz(4.8604, 3.8073, 18.2444)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163278 #785C16
analogous
#166378 #163278 #2B1678
triadic
#163278 #781632 #327816
tetradic
#163278 #781663 #785C16 #16782B
square
#163278 #781663 #785C16 #16782B
split-complementary
#163278 #782B16 #637816
monochromatic
#050B1A #0D1C44 #163278 #1F48AC #2F60D9

Accessibility & contrast

On white

11.92
#163278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#163278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163278
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163278#FFFFFF#000000##FFFFFF
##1632781.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7A
Deuteranopia (green-blind)
#003377
Tritanopia (blue-blind)
#00434F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #163278;
/* rgb */ color: rgb(22, 50, 120);
/* oklch */ color: oklch(34.3% 0.125 264.3);
Tailwind
colors: {
  custom: {
    50: '#6569a0',
    500: '#163278',
    950: '#000000',
  },
}
SCSS
$custom: #163278;
$custom-light: #6569a0;
$custom-dark: #000000;
JSON
{
  "hex": "#163278",
  "rgb": {
    "r": 22,
    "g": 50,
    "b": 120
  },
  "hsl": {
    "h": 222.857,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34268,
    "c": 0.12466,
    "h": 264.3
  },
  "luminance": 0.03808
}

Semantic roles & 50–950 ramp

primary
#163278
secondary
#AD8D3C
accent
#BA3CEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060F
muted
#7A7A7E

Preview Lab

Preview with #163278

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

Preview Lab → · Contrast checker → · Palette generator →

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