#161374#161374

#161374 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.155 H 271.7°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#161374
RGBrgb(22, 19, 116)
HSLhsl(242, 72%, 26%)
HSVhsv(242, 84%, 45%)
CMYKcmyk(81%, 83.6%, 0%, 54.5%)
CIE-LABlab(14.94, 36.34, -53.70)
CIE-LCHlch(14.94, 64.84, 304.09°)
OKLaboklab(28.25% 0.0047 -0.1554)
OKLCHoklch(28.25% 0.155 271.7)
XYZxyz(3.7151, 1.8969, 16.6899)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161374 #717413
analogous
#134174 #161374 #471374
triadic
#161374 #741613 #137416
tetradic
#161374 #741341 #717413 #137447
square
#161374 #741341 #717413 #137447
split-complementary
#161374 #744713 #417413
monochromatic
#05041A #0C0A3F #161374 #201CA9 #2C26DB

Accessibility & contrast

On white

15.22
#161374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#161374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161374
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161374#FFFFFF#000000##FFFFFF
##1613741.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A77
Deuteranopia (green-blind)
#002172
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #161374;
/* rgb */ color: rgb(22, 19, 116);
/* oklch */ color: oklch(28.3% 0.155 271.7);
Tailwind
colors: {
  custom: {
    50: '#67539d',
    500: '#161374',
    950: '#000000',
  },
}
SCSS
$custom: #161374;
$custom-light: #67539d;
$custom-dark: #000000;
JSON
{
  "hex": "#161374",
  "rgb": {
    "r": 22,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 241.856,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28254,
    "c": 0.15549,
    "h": 271.7
  },
  "luminance": 0.01897
}

Semantic roles & 50–950 ramp

primary
#161374
secondary
#A7AA38
accent
#EF39E9
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #161374

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

Preview Lab → · Contrast checker → · Palette generator →

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