#162980#162980

#162980 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.148 H 267.5°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#162980
RGBrgb(22, 41, 128)
HSLhsl(229, 71%, 29%)
HSVhsv(229, 83%, 50%)
CMYKcmyk(82.8%, 68%, 0%, 49.8%)
CIE-LABlab(21.26, 26.97, -50.93)
CIE-LCHlch(21.26, 57.63, 297.90°)
OKLaboklab(33.18% -0.0065 -0.1475)
OKLCHoklch(33.18% 0.148 267.5)
XYZxyz(5.0187, 3.3144, 20.7931)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162980 #806D16
analogous
#165E80 #162980 #381680
triadic
#162980 #801629 #298016
tetradic
#162980 #80165E #806D16 #168038
square
#162980 #80165E #806D16 #168038
split-complementary
#162980 #803816 #5E8016
monochromatic
#04081A #0D184C #162980 #1F3AB4 #3452DC

Accessibility & contrast

On white

12.63
#162980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#162980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162980
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162980#FFFFFF#000000##FFFFFF
##1629801.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#002E7E
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #162980;
/* rgb */ color: rgb(22, 41, 128);
/* oklch */ color: oklch(33.2% 0.148 267.5);
Tailwind
colors: {
  custom: {
    50: '#6862a6',
    500: '#162980',
    950: '#000000',
  },
}
SCSS
$custom: #162980;
$custom-light: #6862a6;
$custom-dark: #000000;
JSON
{
  "hex": "#162980",
  "rgb": {
    "r": 22,
    "g": 41,
    "b": 128
  },
  "hsl": {
    "h": 229.245,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33182,
    "c": 0.14761,
    "h": 267.5
  },
  "luminance": 0.03315
}

Semantic roles & 50–950 ramp

primary
#162980
secondary
#B59F3D
accent
#CD3AED
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #162980

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

Preview Lab → · Contrast checker → · Palette generator →

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