#162860#162860

#162860 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.9% C 0.102 H 266.6°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#162860
RGBrgb(22, 40, 96)
HSLhsl(225, 63%, 23%)
HSVhsv(225, 77%, 38%)
CMYKcmyk(77.1%, 58.3%, 0%, 62.4%)
CIE-LABlab(18.06, 14.63, -35.49)
CIE-LCHlch(18.06, 38.39, 292.40°)
OKLaboklab(29.9% -0.006 -0.1022)
OKLCHoklch(29.9% 0.102 266.6)
XYZxyz(3.2003, 2.5323, 11.3842)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162860 #604E16
analogous
#164D60 #162860 #291660
triadic
#162860 #601628 #286016
tetradic
#162860 #60164D #604E16 #166029
square
#162860 #60164D #604E16 #166029
split-complementary
#162860 #602916 #4D6016
monochromatic
#060A19 #0B132E #162860 #213D92 #2D51C4

Accessibility & contrast

On white

13.94
#162860 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#162860 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162860
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162860#FFFFFF#000000##FFFFFF
##1628601.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003062
Deuteranopia (green-blind)
#00295F
Tritanopia (blue-blind)
#00363F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #162860;
/* rgb */ color: rgb(22, 40, 96);
/* oklch */ color: oklch(29.9% 0.102 266.6);
Tailwind
colors: {
  custom: {
    50: '#5f618e',
    500: '#162860',
    950: '#000000',
  },
}
SCSS
$custom: #162860;
$custom-light: #5f618e;
$custom-dark: #000000;
JSON
{
  "hex": "#162860",
  "rgb": {
    "r": 22,
    "g": 40,
    "b": 96
  },
  "hsl": {
    "h": 225.405,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29903,
    "c": 0.10238,
    "h": 266.6
  },
  "luminance": 0.02533
}

Semantic roles & 50–950 ramp

primary
#162860
secondary
#97813B
accent
#BE42E6
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #162860

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

Preview Lab → · Contrast checker → · Palette generator →

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