#162060#162060

#162060 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.2% C 0.113 H 270.4°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#162060
RGBrgb(22, 32, 96)
HSLhsl(232, 63%, 23%)
HSVhsv(232, 77%, 38%)
CMYKcmyk(77.1%, 66.7%, 0%, 62.4%)
CIE-LABlab(15.74, 20.48, -39.28)
CIE-LCHlch(15.74, 44.30, 297.54°)
OKLaboklab(28.17% 0.0008 -0.1134)
OKLCHoklch(28.17% 0.113 270.4)
XYZxyz(2.9580, 2.0478, 11.3034)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162060 #605616
analogous
#164560 #162060 #311660
triadic
#162060 #601620 #206016
tetradic
#162060 #601645 #605616 #166031
square
#162060 #601645 #605616 #166031
split-complementary
#162060 #603116 #456016
monochromatic
#060819 #0B0F2E #162060 #213192 #2D41C4

Accessibility & contrast

On white

14.90
#162060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#162060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162060
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162060#FFFFFF#000000##FFFFFF
##1620601.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B62
Deuteranopia (green-blind)
#00245F
Tritanopia (blue-blind)
#00303C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #162060;
/* rgb */ color: rgb(22, 32, 96);
/* oklch */ color: oklch(28.2% 0.113 270.4);
Tailwind
colors: {
  custom: {
    50: '#605b8e',
    500: '#162060',
    950: '#000000',
  },
}
SCSS
$custom: #162060;
$custom-light: #605b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#162060",
  "rgb": {
    "r": 22,
    "g": 32,
    "b": 96
  },
  "hsl": {
    "h": 231.892,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.28166,
    "c": 0.11345,
    "h": 270.4
  },
  "luminance": 0.02048
}

Semantic roles & 50–950 ramp

primary
#162060
secondary
#978B3B
accent
#D042E6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #162060

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

Preview Lab → · Contrast checker → · Palette generator →

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