#180C55#180C55

#180C55 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.7% C 0.121 H 279.2°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#180C55
RGBrgb(24, 12, 85)
HSLhsl(250, 75%, 19%)
HSVhsv(250, 86%, 33%)
CMYKcmyk(71.8%, 85.9%, 0%, 66.7%)
CIE-LABlab(9.90, 29.72, -41.47)
CIE-LCHlch(9.90, 51.02, 305.63°)
OKLaboklab(23.65% 0.0194 -0.1198)
OKLCHoklch(23.65% 0.121 279.2)
XYZxyz(2.1473, 1.1128, 8.6942)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180C55 #49550C
analogous
#0C2555 #180C55 #3D0C55
triadic
#180C55 #55180C #0C5518
tetradic
#180C55 #550C25 #49550C #0C553D
square
#180C55 #550C25 #49550C #0C553D
split-complementary
#180C55 #553D0C #25550C
monochromatic
#08041B #09041F #180C55 #27148B #361BC0

Accessibility & contrast

On white

17.18
#180C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#180C55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180C55
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180C55#FFFFFF#000000##FFFFFF
##180C551.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E57
Deuteranopia (green-blind)
#001854
Tritanopia (blue-blind)
#002231
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #180c55;
/* rgb */ color: rgb(24, 12, 85);
/* oklch */ color: oklch(23.7% 0.121 279.2);
Tailwind
colors: {
  custom: {
    50: '#604d86',
    500: '#180c55',
    950: '#000000',
  },
}
SCSS
$custom: #180c55;
$custom-light: #604d86;
$custom-dark: #000000;
JSON
{
  "hex": "#180c55",
  "rgb": {
    "r": 24,
    "g": 12,
    "b": 85
  },
  "hsl": {
    "h": 249.863,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.23652,
    "c": 0.12132,
    "h": 279.2
  },
  "luminance": 0.01113
}

Semantic roles & 50–950 ramp

primary
#180C55
secondary
#80902D
accent
#F236D3
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05010B
muted
#7A777C

Preview Lab

Preview with #180C55

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

Preview Lab → · Contrast checker → · Palette generator →

#180C55 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva