#181160#181160

#181160 is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.7% C 0.131 H 275.9°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#181160
RGBrgb(24, 17, 96)
HSLhsl(245, 70%, 22%)
HSVhsv(245, 82%, 38%)
CMYKcmyk(75%, 82.3%, 0%, 62.4%)
CIE-LABlab(12.22, 30.70, -45.06)
CIE-LCHlch(12.22, 54.53, 304.27°)
OKLaboklab(25.67% 0.0134 -0.1303)
OKLCHoklch(25.67% 0.131 275.9)
XYZxyz(2.6878, 1.4394, 11.2002)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181160 #596011
analogous
#113260 #181160 #3F1160
triadic
#181160 #601811 #116018
tetradic
#181160 #601132 #596011 #11603F
square
#181160 #601132 #596011 #11603F
split-complementary
#181160 #603F11 #326011
monochromatic
#06051A #0B082C #181160 #251A94 #3223C8

Accessibility & contrast

On white

16.30
#181160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#181160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181160
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181160#FFFFFF#000000##FFFFFF
##1811601.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002362
Deuteranopia (green-blind)
#001C5F
Tritanopia (blue-blind)
#002938
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #181160;
/* rgb */ color: rgb(24, 17, 96);
/* oklch */ color: oklch(25.7% 0.131 275.9);
Tailwind
colors: {
  custom: {
    50: '#62518e',
    500: '#181160',
    950: '#000000',
  },
}
SCSS
$custom: #181160;
$custom-light: #62518e;
$custom-dark: #000000;
JSON
{
  "hex": "#181160",
  "rgb": {
    "r": 24,
    "g": 17,
    "b": 96
  },
  "hsl": {
    "h": 245.316,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.25668,
    "c": 0.13095,
    "h": 275.9
  },
  "luminance": 0.0144
}

Semantic roles & 50–950 ramp

primary
#181160
secondary
#909934
accent
#ED3BDD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #181160

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

Preview Lab → · Contrast checker → · Palette generator →

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