#162378#162378

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

Color values

HEX#162378
RGBrgb(22, 35, 120)
HSLhsl(232, 69%, 28%)
HSVhsv(232, 82%, 47%)
CMYKcmyk(81.7%, 70.8%, 0%, 52.9%)
CIE-LABlab(18.92, 27.93, -49.69)
CIE-LCHlch(18.92, 57.00, 299.34°)
OKLaboklab(31.23% -0.0028 -0.1439)
OKLCHoklch(31.23% 0.144 268.9)
XYZxyz(4.3209, 2.7282, 18.0645)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162378 #786B16
analogous
#165478 #162378 #3A1678
triadic
#162378 #781623 #237816
tetradic
#162378 #781654 #786B16 #16783A
square
#162378 #781654 #786B16 #16783A
split-complementary
#162378 #783A16 #547816
monochromatic
#05081A #0D1444 #162378 #1F32AC #2F46D9

Accessibility & contrast

On white

13.59
#162378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#162378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162378
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162378#FFFFFF#000000##FFFFFF
##1623781.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337B
Deuteranopia (green-blind)
#002976
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162378;
/* rgb */ color: rgb(22, 35, 120);
/* oklch */ color: oklch(31.2% 0.144 268.9);
Tailwind
colors: {
  custom: {
    50: '#665ea0',
    500: '#162378',
    950: '#000000',
  },
}
SCSS
$custom: #162378;
$custom-light: #665ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#162378",
  "rgb": {
    "r": 22,
    "g": 35,
    "b": 120
  },
  "hsl": {
    "h": 232.041,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31228,
    "c": 0.14391,
    "h": 268.9
  },
  "luminance": 0.02729
}

Semantic roles & 50–950 ramp

primary
#162378
secondary
#AD9E3C
accent
#D53CEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #162378

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

Preview Lab → · Contrast checker → · Palette generator →

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