#161373#161373

#161373 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.154 H 271.8°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#161373
RGBrgb(22, 19, 115)
HSLhsl(242, 72%, 26%)
HSVhsv(242, 83%, 45%)
CMYKcmyk(80.9%, 83.5%, 0%, 54.9%)
CIE-LABlab(14.81, 36.00, -53.26)
CIE-LCHlch(14.81, 64.28, 304.06°)
OKLaboklab(28.13% 0.0049 -0.1541)
OKLCHoklch(28.13% 0.154 271.8)
XYZxyz(3.6572, 1.8737, 16.3852)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161373 #707313
analogous
#134073 #161373 #461373
triadic
#161373 #731613 #137316
tetradic
#161373 #731340 #707313 #137346
square
#161373 #731340 #707313 #137346
split-complementary
#161373 #734613 #407313
monochromatic
#05041A #0C0A3E #161373 #201CA8 #2B25DB

Accessibility & contrast

On white

15.27
#161373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161373
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161373#FFFFFF#000000##FFFFFF
##1613731.0015.271.3715.27
#FFFFFF15.271.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161373;
/* rgb */ color: rgb(22, 19, 115);
/* oklch */ color: oklch(28.1% 0.154 271.8);
Tailwind
colors: {
  custom: {
    50: '#66539c',
    500: '#161373',
    950: '#000000',
  },
}
SCSS
$custom: #161373;
$custom-light: #66539c;
$custom-dark: #000000;
JSON
{
  "hex": "#161373",
  "rgb": {
    "r": 22,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 241.875,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28129,
    "c": 0.15423,
    "h": 271.8
  },
  "luminance": 0.01874
}

Semantic roles & 50–950 ramp

primary
#161373
secondary
#A6AA38
accent
#EE39E9
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #161373

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

Preview Lab → · Contrast checker → · Palette generator →

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