#161372#161372

#161372 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.153 H 271.9°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#161372
RGBrgb(22, 19, 114)
HSLhsl(242, 71%, 26%)
HSVhsv(242, 83%, 45%)
CMYKcmyk(80.7%, 83.3%, 0%, 55.3%)
CIE-LABlab(14.68, 35.66, -52.82)
CIE-LCHlch(14.68, 63.73, 304.02°)
OKLaboklab(28.01% 0.0052 -0.1529)
OKLCHoklch(28.01% 0.153 271.9)
XYZxyz(3.6000, 1.8508, 16.0838)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161372 #6F7213
analogous
#133F72 #161372 #451372
triadic
#161372 #721613 #137216
tetradic
#161372 #72133F #6F7213 #137245
square
#161372 #72133F #6F7213 #137245
split-complementary
#161372 #724513 #3F7213
monochromatic
#05041A #0C0A3E #161372 #201CA6 #2B25DB

Accessibility & contrast

On white

15.33
#161372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#161372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161372
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161372#FFFFFF#000000##FFFFFF
##1613721.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A75
Deuteranopia (green-blind)
#002070
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #161372;
/* rgb */ color: rgb(22, 19, 114);
/* oklch */ color: oklch(28.0% 0.153 271.9);
Tailwind
colors: {
  custom: {
    50: '#66539c',
    500: '#161372',
    950: '#000000',
  },
}
SCSS
$custom: #161372;
$custom-light: #66539c;
$custom-dark: #000000;
JSON
{
  "hex": "#161372",
  "rgb": {
    "r": 22,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 241.895,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28005,
    "c": 0.15297,
    "h": 271.9
  },
  "luminance": 0.01851
}

Semantic roles & 50–950 ramp

primary
#161372
secondary
#A5A938
accent
#EE3AE8
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #161372

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

Preview Lab → · Contrast checker → · Palette generator →

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