#181860#181860

#181860 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.8% C 0.123 H 274.2°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#181860
RGBrgb(24, 24, 96)
HSLhsl(240, 60%, 24%)
HSVhsv(240, 75%, 38%)
CMYKcmyk(75%, 75%, 0%, 62.4%)
CIE-LABlab(13.78, 26.32, -42.49)
CIE-LCHlch(13.78, 49.98, 301.78°)
OKLaboklab(26.78% 0.0091 -0.1228)
OKLCHoklch(26.78% 0.123 274.2)
XYZxyz(2.8139, 1.6917, 11.2423)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181860 #606018
analogous
#183C60 #181860 #3C1860
triadic
#181860 #601818 #186018
tetradic
#181860 #60183C #606018 #18603C
square
#181860 #60183C #606018 #18603C
split-complementary
#181860 #603C18 #3C6018
monochromatic
#060618 #0C0C2F #181860 #242491 #3030C2

Accessibility & contrast

On white

15.69
#181860 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#181860 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181860
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181860#FFFFFF#000000##FFFFFF
##1818601.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002762
Deuteranopia (green-blind)
#00205F
Tritanopia (blue-blind)
#002C3A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #181860;
/* rgb */ color: rgb(24, 24, 96);
/* oklch */ color: oklch(26.8% 0.123 274.2);
Tailwind
colors: {
  custom: {
    50: '#61558e',
    500: '#181860',
    950: '#000000',
  },
}
SCSS
$custom: #181860;
$custom-light: #61558e;
$custom-dark: #000000;
JSON
{
  "hex": "#181860",
  "rgb": {
    "r": 24,
    "g": 24,
    "b": 96
  },
  "hsl": {
    "h": 240,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.26776,
    "c": 0.12316,
    "h": 274.2
  },
  "luminance": 0.01692
}

Semantic roles & 50–950 ramp

primary
#181860
secondary
#96963D
accent
#E345E3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #181860

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

Preview Lab → · Contrast checker → · Palette generator →

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