#181060#181060

#181060 is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.5% C 0.132 H 276.0°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#181060
RGBrgb(24, 16, 96)
HSLhsl(246, 71%, 22%)
HSVhsv(246, 83%, 38%)
CMYKcmyk(75%, 83.3%, 0%, 62.4%)
CIE-LABlab(12.02, 31.28, -45.39)
CIE-LCHlch(12.02, 55.12, 304.57°)
OKLaboklab(25.53% 0.0139 -0.1312)
OKLCHoklch(25.53% 0.132 276)
XYZxyz(2.6726, 1.4090, 11.1952)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181060 #586010
analogous
#103060 #181060 #401060
triadic
#181060 #601810 #106018
tetradic
#181060 #601030 #586010 #106040
square
#181060 #601030 #586010 #106040
split-complementary
#181060 #604010 #306010
monochromatic
#07041A #0B072C #181060 #251994 #3221C9

Accessibility & contrast

On white

16.38
#181060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#181060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181060
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181060#FFFFFF#000000##FFFFFF
##1810601.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #181060;
/* rgb */ color: rgb(24, 16, 96);
/* oklch */ color: oklch(25.5% 0.132 276.0);
Tailwind
colors: {
  custom: {
    50: '#62508e',
    500: '#181060',
    950: '#000000',
  },
}
SCSS
$custom: #181060;
$custom-light: #62508e;
$custom-dark: #000000;
JSON
{
  "hex": "#181060",
  "rgb": {
    "r": 24,
    "g": 16,
    "b": 96
  },
  "hsl": {
    "h": 246,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.25528,
    "c": 0.13194,
    "h": 276
  },
  "luminance": 0.01409
}

Semantic roles & 50–950 ramp

primary
#181060
secondary
#8F9933
accent
#EE3ADC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #181060

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

Preview Lab → · Contrast checker → · Palette generator →

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