#162479#162479

#162479 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.144 H 268.7°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#162479
RGBrgb(22, 36, 121)
HSLhsl(232, 69%, 28%)
HSVhsv(232, 82%, 47%)
CMYKcmyk(81.8%, 70.2%, 0%, 52.5%)
CIE-LABlab(19.28, 27.64, -49.74)
CIE-LCHlch(19.28, 56.91, 299.06°)
OKLaboklab(31.52% -0.0034 -0.144)
OKLCHoklch(31.52% 0.144 268.7)
XYZxyz(4.4118, 2.8123, 18.3958)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162479 #796B16
analogous
#165579 #162479 #391679
triadic
#162479 #791624 #247916
tetradic
#162479 #791655 #796B16 #167939
square
#162479 #791655 #796B16 #167939
split-complementary
#162479 #793916 #557916
monochromatic
#05081A #0D1545 #162479 #1F33AD #3048D9

Accessibility & contrast

On white

13.44
#162479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#162479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162479
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162479#FFFFFF#000000##FFFFFF
##1624791.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#002A77
Tritanopia (blue-blind)
#003B4B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #162479;
/* rgb */ color: rgb(22, 36, 121);
/* oklch */ color: oklch(31.5% 0.144 268.7);
Tailwind
colors: {
  custom: {
    50: '#665ea1',
    500: '#162479',
    950: '#000000',
  },
}
SCSS
$custom: #162479;
$custom-light: #665ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#162479",
  "rgb": {
    "r": 22,
    "g": 36,
    "b": 121
  },
  "hsl": {
    "h": 231.515,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31518,
    "c": 0.14408,
    "h": 268.7
  },
  "luminance": 0.02813
}

Semantic roles & 50–950 ramp

primary
#162479
secondary
#AE9E3D
accent
#D33CEC
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #162479

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

Preview Lab → · Contrast checker → · Palette generator →

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