#162776#162776

#162776 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.136 H 267.9°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#162776
RGBrgb(22, 39, 118)
HSLhsl(229, 69%, 27%)
HSVhsv(229, 81%, 46%)
CMYKcmyk(81.4%, 66.9%, 0%, 53.7%)
CIE-LABlab(19.76, 24.38, -47.03)
CIE-LCHlch(19.76, 52.98, 297.40°)
OKLaboklab(31.78% -0.0049 -0.1361)
OKLCHoklch(31.78% 0.136 267.9)
XYZxyz(4.3253, 2.9291, 17.4734)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162776 #766516
analogous
#165776 #162776 #351676
triadic
#162776 #761627 #277616
tetradic
#162776 #761657 #766516 #167635
square
#162776 #761657 #766516 #167635
split-complementary
#162776 #763516 #577616
monochromatic
#05091A #0C1642 #162776 #2038AA #2E4CD8

Accessibility & contrast

On white

13.24
#162776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#162776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162776
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162776#FFFFFF#000000##FFFFFF
##1627761.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#002B75
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #162776;
/* rgb */ color: rgb(22, 39, 118);
/* oklch */ color: oklch(31.8% 0.136 267.9);
Tailwind
colors: {
  custom: {
    50: '#65619e',
    500: '#162776',
    950: '#000000',
  },
}
SCSS
$custom: #162776;
$custom-light: #65619e;
$custom-dark: #000000;
JSON
{
  "hex": "#162776",
  "rgb": {
    "r": 22,
    "g": 39,
    "b": 118
  },
  "hsl": {
    "h": 229.375,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31779,
    "c": 0.13619,
    "h": 267.9
  },
  "luminance": 0.0293
}

Semantic roles & 50–950 ramp

primary
#162776
secondary
#AC983C
accent
#CC3CEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #162776

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

Preview Lab → · Contrast checker → · Palette generator →

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