#162580#162580

#162580 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.4% C 0.152 H 268.3°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#162580
RGBrgb(22, 37, 128)
HSLhsl(232, 71%, 29%)
HSVhsv(232, 83%, 50%)
CMYKcmyk(82.8%, 71.1%, 0%, 49.8%)
CIE-LABlab(20.25, 29.68, -52.59)
CIE-LCHlch(20.25, 60.39, 299.44°)
OKLaboklab(32.44% -0.0045 -0.1524)
OKLCHoklch(32.44% 0.152 268.3)
XYZxyz(4.8874, 3.0517, 20.7493)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162580 #807116
analogous
#165A80 #162580 #3C1680
triadic
#162580 #801625 #258016
tetradic
#162580 #80165A #807116 #16803C
square
#162580 #80165A #807116 #16803C
split-complementary
#162580 #803C16 #5A8016
monochromatic
#04081A #0D164C #162580 #1F34B4 #344CDC

Accessibility & contrast

On white

13.04
#162580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#162580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162580
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162580#FFFFFF#000000##FFFFFF
##1625801.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#002C7E
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #162580;
/* rgb */ color: rgb(22, 37, 128);
/* oklch */ color: oklch(32.4% 0.152 268.3);
Tailwind
colors: {
  custom: {
    50: '#685fa6',
    500: '#162580',
    950: '#000000',
  },
}
SCSS
$custom: #162580;
$custom-light: #685fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#162580",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 128
  },
  "hsl": {
    "h": 231.509,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32444,
    "c": 0.15242,
    "h": 268.3
  },
  "luminance": 0.03052
}

Semantic roles & 50–950 ramp

primary
#162580
secondary
#B5A43D
accent
#D43AED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #162580

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

Preview Lab → · Contrast checker → · Palette generator →

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