#181166#181166

#181166 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.4% C 0.139 H 274.9°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#181166
RGBrgb(24, 17, 102)
HSLhsl(245, 71%, 23%)
HSVhsv(245, 83%, 40%)
CMYKcmyk(76.5%, 83.3%, 0%, 60%)
CIE-LABlab(12.95, 32.79, -47.84)
CIE-LCHlch(12.95, 58.00, 304.43°)
OKLaboklab(26.39% 0.0117 -0.1383)
OKLCHoklch(26.39% 0.139 274.9)
XYZxyz(2.9746, 1.5541, 12.7110)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181166 #5F6611
analogous
#113466 #181166 #421166
triadic
#181166 #661811 #116618
tetradic
#181166 #661134 #5F6611 #116642
square
#181166 #661134 #5F6611 #116642
split-complementary
#181166 #664211 #346611
monochromatic
#06041A #0C0832 #181166 #241A9A #3122CF

Accessibility & contrast

On white

16.02
#181166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#181166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181166
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181166#FFFFFF#000000##FFFFFF
##1811661.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002568
Deuteranopia (green-blind)
#001D65
Tritanopia (blue-blind)
#002B3B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #181166;
/* rgb */ color: rgb(24, 17, 102);
/* oklch */ color: oklch(26.4% 0.139 274.9);
Tailwind
colors: {
  custom: {
    50: '#645193',
    500: '#181166',
    950: '#000000',
  },
}
SCSS
$custom: #181166;
$custom-light: #645193;
$custom-dark: #000000;
JSON
{
  "hex": "#181166",
  "rgb": {
    "r": 24,
    "g": 17,
    "b": 102
  },
  "hsl": {
    "h": 244.941,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.26394,
    "c": 0.13884,
    "h": 274.9
  },
  "luminance": 0.01554
}

Semantic roles & 50–950 ramp

primary
#181166
secondary
#959E35
accent
#EE3ADF
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #181166

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

Preview Lab → · Contrast checker → · Palette generator →

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