#162876#162876

#162876 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.0% C 0.135 H 267.6°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#162876
RGBrgb(22, 40, 118)
HSLhsl(229, 69%, 27%)
HSVhsv(229, 81%, 46%)
CMYKcmyk(81.4%, 66.1%, 0%, 53.7%)
CIE-LABlab(20.03, 23.68, -46.59)
CIE-LCHlch(20.03, 52.26, 296.94°)
OKLaboklab(31.98% -0.0055 -0.1348)
OKLCHoklch(31.98% 0.135 267.6)
XYZxyz(4.3585, 2.9957, 17.4845)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162876 #766416
analogous
#165876 #162876 #341676
triadic
#162876 #761628 #287616
tetradic
#162876 #761658 #766416 #167634
square
#162876 #761658 #766416 #167634
split-complementary
#162876 #763416 #587616
monochromatic
#05091A #0C1742 #162876 #2039AA #2E4ED8

Accessibility & contrast

On white

13.13
#162876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#162876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162876
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162876#FFFFFF#000000##FFFFFF
##1628761.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#002C75
Tritanopia (blue-blind)
#003C4B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #162876;
/* rgb */ color: rgb(22, 40, 118);
/* oklch */ color: oklch(32.0% 0.135 267.6);
Tailwind
colors: {
  custom: {
    50: '#65619e',
    500: '#162876',
    950: '#000000',
  },
}
SCSS
$custom: #162876;
$custom-light: #65619e;
$custom-dark: #000000;
JSON
{
  "hex": "#162876",
  "rgb": {
    "r": 22,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 228.75,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31977,
    "c": 0.13491,
    "h": 267.6
  },
  "luminance": 0.02996
}

Semantic roles & 50–950 ramp

primary
#162876
secondary
#AC973C
accent
#CB3CEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #162876

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

Preview Lab → · Contrast checker → · Palette generator →

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