#162471#162471

#162471 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.7% C 0.133 H 268.8°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#162471
RGBrgb(22, 36, 113)
HSLhsl(231, 67%, 26%)
HSVhsv(231, 81%, 44%)
CMYKcmyk(80.5%, 68.1%, 0%, 55.7%)
CIE-LABlab(18.47, 24.48, -45.93)
CIE-LCHlch(18.47, 52.05, 298.06°)
OKLaboklab(30.69% -0.0028 -0.1329)
OKLCHoklch(30.69% 0.133 268.8)
XYZxyz(3.9414, 2.6241, 15.9184)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162471 #716316
analogous
#165271 #162471 #361671
triadic
#162471 #711624 #247116
tetradic
#162471 #711652 #716316 #167136
square
#162471 #711652 #716316 #167136
split-complementary
#162471 #713616 #527116
monochromatic
#05081A #0C143E #162471 #2034A4 #2C46D6

Accessibility & contrast

On white

13.77
#162471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#162471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162471
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162471#FFFFFF#000000##FFFFFF
##1624711.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003173
Deuteranopia (green-blind)
#002970
Tritanopia (blue-blind)
#003847
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162471;
/* rgb */ color: rgb(22, 36, 113);
/* oklch */ color: oklch(30.7% 0.133 268.8);
Tailwind
colors: {
  custom: {
    50: '#645e9b',
    500: '#162471',
    950: '#000000',
  },
}
SCSS
$custom: #162471;
$custom-light: #645e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#162471",
  "rgb": {
    "r": 22,
    "g": 36,
    "b": 113
  },
  "hsl": {
    "h": 230.769,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30685,
    "c": 0.13292,
    "h": 268.8
  },
  "luminance": 0.02625
}

Semantic roles & 50–950 ramp

primary
#162471
secondary
#A7963C
accent
#D03EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #162471

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

Preview Lab → · Contrast checker → · Palette generator →

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