#162472#162472

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

Color values

HEX#162472
RGBrgb(22, 36, 114)
HSLhsl(231, 68%, 27%)
HSVhsv(231, 81%, 45%)
CMYKcmyk(80.7%, 68.4%, 0%, 55.3%)
CIE-LABlab(18.57, 24.88, -46.41)
CIE-LCHlch(18.57, 52.66, 298.20°)
OKLaboklab(30.79% -0.0029 -0.1343)
OKLCHoklch(30.79% 0.134 268.8)
XYZxyz(3.9980, 2.6468, 16.2165)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162472 #726416
analogous
#165272 #162472 #361672
triadic
#162472 #721624 #247216
tetradic
#162472 #721652 #726416 #167236
square
#162472 #721652 #726416 #167236
split-complementary
#162472 #723616 #527216
monochromatic
#05081A #0C143F #162472 #2034A5 #2C46D6

Accessibility & contrast

On white

13.73
#162472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162472
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162472#FFFFFF#000000##FFFFFF
##1624721.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003274
Deuteranopia (green-blind)
#002971
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162472;
/* rgb */ color: rgb(22, 36, 114);
/* oklch */ color: oklch(30.8% 0.134 268.8);
Tailwind
colors: {
  custom: {
    50: '#645e9b',
    500: '#162472',
    950: '#000000',
  },
}
SCSS
$custom: #162472;
$custom-light: #645e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#162472",
  "rgb": {
    "r": 22,
    "g": 36,
    "b": 114
  },
  "hsl": {
    "h": 230.87,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30787,
    "c": 0.13433,
    "h": 268.8
  },
  "luminance": 0.02647
}

Semantic roles & 50–950 ramp

primary
#162472
secondary
#A8973C
accent
#D03DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #162472

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

Preview Lab → · Contrast checker → · Palette generator →

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