#162160#162160

#162160 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.4% C 0.112 H 270.0°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#162160
RGBrgb(22, 33, 96)
HSLhsl(231, 63%, 23%)
HSVhsv(231, 77%, 38%)
CMYKcmyk(77.1%, 65.6%, 0%, 62.4%)
CIE-LABlab(16.02, 19.76, -38.82)
CIE-LCHlch(16.02, 43.56, 296.97°)
OKLaboklab(28.37% 0 -0.1121)
OKLCHoklch(28.37% 0.112 270)
XYZxyz(2.9853, 2.1025, 11.3126)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162160 #605516
analogous
#164660 #162160 #301660
triadic
#162160 #601621 #216016
tetradic
#162160 #601646 #605516 #166030
square
#162160 #601646 #605516 #166030
split-complementary
#162160 #603016 #466016
monochromatic
#060919 #0B102E #162160 #213292 #2D43C4

Accessibility & contrast

On white

14.78
#162160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#162160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162160
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162160#FFFFFF#000000##FFFFFF
##1621601.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B62
Deuteranopia (green-blind)
#00245F
Tritanopia (blue-blind)
#00313D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #162160;
/* rgb */ color: rgb(22, 33, 96);
/* oklch */ color: oklch(28.4% 0.112 270.0);
Tailwind
colors: {
  custom: {
    50: '#5f5c8e',
    500: '#162160',
    950: '#000000',
  },
}
SCSS
$custom: #162160;
$custom-light: #5f5c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#162160",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 96
  },
  "hsl": {
    "h": 231.081,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.28373,
    "c": 0.1121,
    "h": 270
  },
  "luminance": 0.02103
}

Semantic roles & 50–950 ramp

primary
#162160
secondary
#97893B
accent
#CD42E6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #162160

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

Preview Lab → · Contrast checker → · Palette generator →

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