#162579#162579

#162579 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.7% C 0.143 H 268.4°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#162579
RGBrgb(22, 37, 121)
HSLhsl(231, 69%, 28%)
HSVhsv(231, 82%, 47%)
CMYKcmyk(81.8%, 69.4%, 0%, 52.5%)
CIE-LABlab(19.53, 26.96, -49.33)
CIE-LCHlch(19.53, 56.21, 298.66°)
OKLaboklab(31.7% -0.0039 -0.1428)
OKLCHoklch(31.7% 0.143 268.4)
XYZxyz(4.4424, 2.8737, 18.4060)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162579 #796A16
analogous
#165679 #162579 #381679
triadic
#162579 #791625 #257916
tetradic
#162579 #791656 #796A16 #167938
square
#162579 #791656 #796A16 #167938
split-complementary
#162579 #793816 #567916
monochromatic
#05081A #0D1545 #162579 #1F35AD #304AD9

Accessibility & contrast

On white

13.34
#162579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#162579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162579
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162579#FFFFFF#000000##FFFFFF
##1625791.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162579;
/* rgb */ color: rgb(22, 37, 121);
/* oklch */ color: oklch(31.7% 0.143 268.4);
Tailwind
colors: {
  custom: {
    50: '#665fa1',
    500: '#162579',
    950: '#000000',
  },
}
SCSS
$custom: #162579;
$custom-light: #665fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#162579",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 230.909,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31704,
    "c": 0.14286,
    "h": 268.4
  },
  "luminance": 0.02874
}

Semantic roles & 50–950 ramp

primary
#162579
secondary
#AE9D3D
accent
#D13CEC
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #162579

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

Preview Lab → · Contrast checker → · Palette generator →

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