#181660#181660

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

Color values

HEX#181660
RGBrgb(24, 22, 96)
HSLhsl(242, 63%, 23%)
HSVhsv(242, 77%, 38%)
CMYKcmyk(75%, 77.1%, 0%, 62.4%)
CIE-LABlab(13.30, 27.63, -43.26)
CIE-LCHlch(13.30, 51.34, 302.57°)
OKLaboklab(26.44% 0.0104 -0.1251)
OKLCHoklch(26.44% 0.126 274.8)
XYZxyz(2.7742, 1.6123, 11.2291)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181660 #5E6016
analogous
#163960 #181660 #3D1660
triadic
#181660 #601816 #166018
tetradic
#181660 #601639 #5E6016 #16603D
square
#181660 #601639 #5E6016 #16603D
split-complementary
#181660 #603D16 #396016
monochromatic
#060619 #0C0B2E #181660 #242192 #312DC4

Accessibility & contrast

On white

15.88
#181660 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#181660 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181660
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181660#FFFFFF#000000##FFFFFF
##1816601.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002662
Deuteranopia (green-blind)
#001F5F
Tritanopia (blue-blind)
#002B39
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #181660;
/* rgb */ color: rgb(24, 22, 96);
/* oklch */ color: oklch(26.4% 0.126 274.8);
Tailwind
colors: {
  custom: {
    50: '#61548e',
    500: '#181660',
    950: '#000000',
  },
}
SCSS
$custom: #181660;
$custom-light: #61548e;
$custom-dark: #000000;
JSON
{
  "hex": "#181660",
  "rgb": {
    "r": 24,
    "g": 22,
    "b": 96
  },
  "hsl": {
    "h": 241.622,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26437,
    "c": 0.12551,
    "h": 274.8
  },
  "luminance": 0.01613
}

Semantic roles & 50–950 ramp

primary
#181660
secondary
#94973B
accent
#E642E1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #181660

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

Preview Lab → · Contrast checker → · Palette generator →

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