#161172#161172

#161172 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.8% C 0.155 H 272.1°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#161172
RGBrgb(22, 17, 114)
HSLhsl(243, 74%, 26%)
HSVhsv(243, 85%, 45%)
CMYKcmyk(80.7%, 85.1%, 0%, 55.3%)
CIE-LABlab(14.32, 36.71, -53.42)
CIE-LCHlch(14.32, 64.82, 304.50°)
OKLaboklab(27.75% 0.0058 -0.1546)
OKLCHoklch(27.75% 0.155 272.1)
XYZxyz(3.5676, 1.7860, 16.0730)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161172 #6D7211
analogous
#113C72 #161172 #461172
triadic
#161172 #721611 #117216
tetradic
#161172 #72113C #6D7211 #117246
square
#161172 #72113C #6D7211 #117246
split-complementary
#161172 #724611 #3C7211
monochromatic
#05041B #0C093D #161172 #2019A7 #2B21DD

Accessibility & contrast

On white

15.47
#161172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#161172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161172
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161172#FFFFFF#000000##FFFFFF
##1611721.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002975
Deuteranopia (green-blind)
#001F70
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #161172;
/* rgb */ color: rgb(22, 17, 114);
/* oklch */ color: oklch(27.8% 0.155 272.1);
Tailwind
colors: {
  custom: {
    50: '#66529c',
    500: '#161172',
    950: '#000000',
  },
}
SCSS
$custom: #161172;
$custom-light: #66529c;
$custom-dark: #000000;
JSON
{
  "hex": "#161172",
  "rgb": {
    "r": 22,
    "g": 17,
    "b": 114
  },
  "hsl": {
    "h": 243.093,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.27753,
    "c": 0.15469,
    "h": 272.1
  },
  "luminance": 0.01786
}

Semantic roles & 50–950 ramp

primary
#161172
secondary
#A3A936
accent
#F137E7
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #161172

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

Preview Lab → · Contrast checker → · Palette generator →

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