#162576#162576

#162576 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.139 H 268.5°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#162576
RGBrgb(22, 37, 118)
HSLhsl(231, 69%, 27%)
HSVhsv(231, 81%, 46%)
CMYKcmyk(81.4%, 68.6%, 0%, 53.7%)
CIE-LABlab(19.23, 25.77, -47.90)
CIE-LCHlch(19.23, 54.39, 298.28°)
OKLaboklab(31.39% -0.0037 -0.1386)
OKLCHoklch(31.39% 0.139 268.5)
XYZxyz(4.2613, 2.8012, 17.4521)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162576 #766716
analogous
#165576 #162576 #371676
triadic
#162576 #761625 #257616
tetradic
#162576 #761655 #766716 #167637
square
#162576 #761655 #766716 #167637
split-complementary
#162576 #763716 #557616
monochromatic
#05081A #0C1542 #162576 #2035AA #2E49D8

Accessibility & contrast

On white

13.46
#162576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#162576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162576
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162576#FFFFFF#000000##FFFFFF
##1625761.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162576;
/* rgb */ color: rgb(22, 37, 118);
/* oklch */ color: oklch(31.4% 0.139 268.5);
Tailwind
colors: {
  custom: {
    50: '#655f9e',
    500: '#162576',
    950: '#000000',
  },
}
SCSS
$custom: #162576;
$custom-light: #655f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#162576",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 118
  },
  "hsl": {
    "h": 230.625,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31392,
    "c": 0.1387,
    "h": 268.5
  },
  "luminance": 0.02802
}

Semantic roles & 50–950 ramp

primary
#162576
secondary
#AC9A3C
accent
#D03CEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #162576

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

Preview Lab → · Contrast checker → · Palette generator →

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