#162476#162476

#162476 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.140 H 268.7°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#162476
RGBrgb(22, 36, 118)
HSLhsl(231, 69%, 27%)
HSVhsv(231, 81%, 46%)
CMYKcmyk(81.4%, 69.5%, 0%, 53.7%)
CIE-LABlab(18.97, 26.46, -48.33)
CIE-LCHlch(18.97, 55.10, 298.70°)
OKLaboklab(31.2% -0.0031 -0.1399)
OKLCHoklch(31.2% 0.14 268.7)
XYZxyz(4.2306, 2.7399, 17.4419)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162476 #766816
analogous
#165476 #162476 #381676
triadic
#162476 #761624 #247616
tetradic
#162476 #761654 #766816 #167638
square
#162476 #761654 #766816 #167638
split-complementary
#162476 #763816 #547616
monochromatic
#05081A #0C1442 #162476 #2034AA #2E47D8

Accessibility & contrast

On white

13.57
#162476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#162476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162476
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162476#FFFFFF#000000##FFFFFF
##1624761.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#002A74
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162476;
/* rgb */ color: rgb(22, 36, 118);
/* oklch */ color: oklch(31.2% 0.140 268.7);
Tailwind
colors: {
  custom: {
    50: '#655e9e',
    500: '#162476',
    950: '#000000',
  },
}
SCSS
$custom: #162476;
$custom-light: #655e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#162476",
  "rgb": {
    "r": 22,
    "g": 36,
    "b": 118
  },
  "hsl": {
    "h": 231.25,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31202,
    "c": 0.13994,
    "h": 268.7
  },
  "luminance": 0.0274
}

Semantic roles & 50–950 ramp

primary
#162476
secondary
#AC9B3C
accent
#D23CEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #162476

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

Preview Lab → · Contrast checker → · Palette generator →

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