#161174#161174

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

Color values

HEX#161174
RGBrgb(22, 17, 116)
HSLhsl(243, 74%, 26%)
HSVhsv(243, 85%, 45%)
CMYKcmyk(81%, 85.3%, 0%, 54.5%)
CIE-LABlab(14.58, 37.38, -54.29)
CIE-LCHlch(14.58, 65.91, 304.55°)
OKLaboklab(28.01% 0.0053 -0.1571)
OKLCHoklch(28.01% 0.157 271.9)
XYZxyz(3.6827, 1.8320, 16.6791)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161174 #6F7411
analogous
#113D74 #161174 #471174
triadic
#161174 #741611 #117416
tetradic
#161174 #74113D #6F7411 #117447
square
#161174 #74113D #6F7411 #117447
split-complementary
#161174 #744711 #3D7411
monochromatic
#05041B #0C093F #161174 #2019A9 #2B21DE

Accessibility & contrast

On white

15.37
#161174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161174
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161174#FFFFFF#000000##FFFFFF
##1611741.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002977
Deuteranopia (green-blind)
#002072
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #161174;
/* rgb */ color: rgb(22, 17, 116);
/* oklch */ color: oklch(28.0% 0.157 271.9);
Tailwind
colors: {
  custom: {
    50: '#67529d',
    500: '#161174',
    950: '#000000',
  },
}
SCSS
$custom: #161174;
$custom-light: #67529d;
$custom-dark: #000000;
JSON
{
  "hex": "#161174",
  "rgb": {
    "r": 22,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 243.03,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28006,
    "c": 0.15718,
    "h": 271.9
  },
  "luminance": 0.01832
}

Semantic roles & 50–950 ramp

primary
#161174
secondary
#A5AB36
accent
#F137E8
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #161174

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

Preview Lab → · Contrast checker → · Palette generator →

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