#162374#162374

#162374 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.138 H 269.0°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#162374
RGBrgb(22, 35, 116)
HSLhsl(232, 68%, 27%)
HSVhsv(232, 81%, 45%)
CMYKcmyk(81%, 69.8%, 0%, 54.5%)
CIE-LABlab(18.51, 26.36, -47.80)
CIE-LCHlch(18.51, 54.59, 298.88°)
OKLaboklab(30.81% -0.0024 -0.1384)
OKLCHoklch(30.81% 0.138 269)
XYZxyz(4.0832, 2.6331, 16.8127)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162374 #746716
analogous
#165274 #162374 #381674
triadic
#162374 #741623 #237416
tetradic
#162374 #741652 #746716 #167438
square
#162374 #741652 #746716 #167438
split-complementary
#162374 #743816 #527416
monochromatic
#05081A #0C1341 #162374 #2033A7 #2D45D7

Accessibility & contrast

On white

13.75
#162374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#162374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162374
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162374#FFFFFF#000000##FFFFFF
##1623741.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003277
Deuteranopia (green-blind)
#002972
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162374;
/* rgb */ color: rgb(22, 35, 116);
/* oklch */ color: oklch(30.8% 0.138 269.0);
Tailwind
colors: {
  custom: {
    50: '#655e9d',
    500: '#162374',
    950: '#000000',
  },
}
SCSS
$custom: #162374;
$custom-light: #655e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#162374",
  "rgb": {
    "r": 22,
    "g": 35,
    "b": 116
  },
  "hsl": {
    "h": 231.702,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30805,
    "c": 0.13838,
    "h": 269
  },
  "luminance": 0.02634
}

Semantic roles & 50–950 ramp

primary
#162374
secondary
#AA9B3C
accent
#D33DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #162374

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

Preview Lab → · Contrast checker → · Palette generator →

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