#162976#162976

#162976 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.2% C 0.134 H 267.3°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#162976
RGBrgb(22, 41, 118)
HSLhsl(228, 69%, 27%)
HSVhsv(228, 81%, 46%)
CMYKcmyk(81.4%, 65.3%, 0%, 53.7%)
CIE-LABlab(20.30, 22.97, -46.15)
CIE-LCHlch(20.30, 51.55, 296.47°)
OKLaboklab(32.18% -0.0062 -0.1335)
OKLCHoklch(32.18% 0.134 267.3)
XYZxyz(4.3927, 3.0640, 17.4959)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162976 #766316
analogous
#165976 #162976 #331676
triadic
#162976 #761629 #297616
tetradic
#162976 #761659 #766316 #167633
square
#162976 #761659 #766316 #167633
split-complementary
#162976 #763316 #597616
monochromatic
#05091A #0C1742 #162976 #203BAA #2E50D8

Accessibility & contrast

On white

13.02
#162976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#162976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162976
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162976#FFFFFF#000000##FFFFFF
##1629761.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003678
Deuteranopia (green-blind)
#002D75
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #162976;
/* rgb */ color: rgb(22, 41, 118);
/* oklch */ color: oklch(32.2% 0.134 267.3);
Tailwind
colors: {
  custom: {
    50: '#65629e',
    500: '#162976',
    950: '#000000',
  },
}
SCSS
$custom: #162976;
$custom-light: #65629e;
$custom-dark: #000000;
JSON
{
  "hex": "#162976",
  "rgb": {
    "r": 22,
    "g": 41,
    "b": 118
  },
  "hsl": {
    "h": 228.125,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32178,
    "c": 0.13362,
    "h": 267.3
  },
  "luminance": 0.03064
}

Semantic roles & 50–950 ramp

primary
#162976
secondary
#AC963C
accent
#C93CEB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #162976

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

Preview Lab → · Contrast checker → · Palette generator →

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