#162377#162377

#162377 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.1% C 0.143 H 268.9°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#162377
RGBrgb(22, 35, 119)
HSLhsl(232, 69%, 28%)
HSVhsv(232, 82%, 47%)
CMYKcmyk(81.5%, 70.6%, 0%, 53.3%)
CIE-LABlab(18.82, 27.54, -49.22)
CIE-LCHlch(18.82, 56.40, 299.23°)
OKLaboklab(31.12% -0.0027 -0.1425)
OKLCHoklch(31.12% 0.143 268.9)
XYZxyz(4.2605, 2.7041, 17.7466)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162377 #776A16
analogous
#165377 #162377 #3A1677
triadic
#162377 #771623 #237716
tetradic
#162377 #771653 #776A16 #16773A
square
#162377 #771653 #776A16 #16773A
split-complementary
#162377 #773A16 #537716
monochromatic
#05081A #0C1443 #162377 #2032AB #2F46D9

Accessibility & contrast

On white

13.63
#162377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#162377 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162377
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162377#FFFFFF#000000##FFFFFF
##1623771.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327A
Deuteranopia (green-blind)
#002975
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162377;
/* rgb */ color: rgb(22, 35, 119);
/* oklch */ color: oklch(31.1% 0.143 268.9);
Tailwind
colors: {
  custom: {
    50: '#665e9f',
    500: '#162377',
    950: '#000000',
  },
}
SCSS
$custom: #162377;
$custom-light: #665e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#162377",
  "rgb": {
    "r": 22,
    "g": 35,
    "b": 119
  },
  "hsl": {
    "h": 231.959,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31122,
    "c": 0.14254,
    "h": 268.9
  },
  "luminance": 0.02705
}

Semantic roles & 50–950 ramp

primary
#162377
secondary
#AC9D3C
accent
#D43CEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #162377

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

Preview Lab → · Contrast checker → · Palette generator →

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