#162680#162680

#162680 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.6% C 0.151 H 268.1°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#162680
RGBrgb(22, 38, 128)
HSLhsl(231, 71%, 29%)
HSVhsv(231, 83%, 50%)
CMYKcmyk(82.8%, 70.3%, 0%, 49.8%)
CIE-LABlab(20.50, 29.01, -52.18)
CIE-LCHlch(20.50, 59.71, 299.07°)
OKLaboklab(32.63% -0.005 -0.1511)
OKLCHoklch(32.63% 0.151 268.1)
XYZxyz(4.9189, 3.1147, 20.7598)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162680 #807016
analogous
#165B80 #162680 #3B1680
triadic
#162680 #801626 #268016
tetradic
#162680 #80165B #807016 #16803B
square
#162680 #80165B #807016 #16803B
split-complementary
#162680 #803B16 #5B8016
monochromatic
#04081A #0D164C #162680 #1F36B4 #344EDC

Accessibility & contrast

On white

12.94
#162680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#162680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162680
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162680#FFFFFF#000000##FFFFFF
##1626801.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162680;
/* rgb */ color: rgb(22, 38, 128);
/* oklch */ color: oklch(32.6% 0.151 268.1);
Tailwind
colors: {
  custom: {
    50: '#6860a6',
    500: '#162680',
    950: '#000000',
  },
}
SCSS
$custom: #162680;
$custom-light: #6860a6;
$custom-dark: #000000;
JSON
{
  "hex": "#162680",
  "rgb": {
    "r": 22,
    "g": 38,
    "b": 128
  },
  "hsl": {
    "h": 230.943,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32625,
    "c": 0.15123,
    "h": 268.1
  },
  "luminance": 0.03115
}

Semantic roles & 50–950 ramp

primary
#162680
secondary
#B5A33D
accent
#D23AED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #162680

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

Preview Lab → · Contrast checker → · Palette generator →

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