#162473#162473

#162473 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.9% C 0.136 H 268.8°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#162473
RGBrgb(22, 36, 115)
HSLhsl(231, 68%, 27%)
HSVhsv(231, 81%, 45%)
CMYKcmyk(80.9%, 68.7%, 0%, 54.9%)
CIE-LABlab(18.67, 25.28, -46.89)
CIE-LCHlch(18.67, 53.27, 298.33°)
OKLaboklab(30.89% -0.0029 -0.1357)
OKLCHoklch(30.89% 0.136 268.8)
XYZxyz(4.0552, 2.6697, 16.5179)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162473 #736516
analogous
#165373 #162473 #371673
triadic
#162473 #731624 #247316
tetradic
#162473 #731653 #736516 #167337
square
#162473 #731653 #736516 #167337
split-complementary
#162473 #733716 #537316
monochromatic
#05081A #0C1440 #162473 #2034A6 #2D46D7

Accessibility & contrast

On white

13.69
#162473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162473
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162473#FFFFFF#000000##FFFFFF
##1624731.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003275
Deuteranopia (green-blind)
#002972
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162473;
/* rgb */ color: rgb(22, 36, 115);
/* oklch */ color: oklch(30.9% 0.136 268.8);
Tailwind
colors: {
  custom: {
    50: '#655e9c',
    500: '#162473',
    950: '#000000',
  },
}
SCSS
$custom: #162473;
$custom-light: #655e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#162473",
  "rgb": {
    "r": 22,
    "g": 36,
    "b": 115
  },
  "hsl": {
    "h": 230.968,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3089,
    "c": 0.13574,
    "h": 268.8
  },
  "luminance": 0.0267
}

Semantic roles & 50–950 ramp

primary
#162473
secondary
#A9983C
accent
#D13DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #162473

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

Preview Lab → · Contrast checker → · Palette generator →

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