#162560#162560

#162560 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.2% C 0.107 H 268.2°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#162560
RGBrgb(22, 37, 96)
HSLhsl(228, 63%, 23%)
HSVhsv(228, 77%, 38%)
CMYKcmyk(77.1%, 61.5%, 0%, 62.4%)
CIE-LABlab(17.17, 16.83, -36.94)
CIE-LCHlch(17.17, 40.60, 294.50°)
OKLaboklab(29.23% -0.0033 -0.1065)
OKLCHoklch(29.23% 0.107 268.2)
XYZxyz(3.1030, 2.3379, 11.3518)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162560 #605116
analogous
#164A60 #162560 #2C1660
triadic
#162560 #601625 #256016
tetradic
#162560 #60164A #605116 #16602C
square
#162560 #60164A #605116 #16602C
split-complementary
#162560 #602C16 #4A6016
monochromatic
#060A19 #0B122E #162560 #213892 #2D4BC4

Accessibility & contrast

On white

14.31
#162560 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#162560 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162560
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162560#FFFFFF#000000##FFFFFF
##1625601.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E62
Deuteranopia (green-blind)
#00275F
Tritanopia (blue-blind)
#00343E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #162560;
/* rgb */ color: rgb(22, 37, 96);
/* oklch */ color: oklch(29.2% 0.107 268.2);
Tailwind
colors: {
  custom: {
    50: '#5f5f8e',
    500: '#162560',
    950: '#000000',
  },
}
SCSS
$custom: #162560;
$custom-light: #5f5f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#162560",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 96
  },
  "hsl": {
    "h": 227.838,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29231,
    "c": 0.10658,
    "h": 268.2
  },
  "luminance": 0.02338
}

Semantic roles & 50–950 ramp

primary
#162560
secondary
#97843B
accent
#C542E6
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #162560

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

Preview Lab → · Contrast checker → · Palette generator →

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