#180F59#180F59

#180F59 is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.5% C 0.124 H 277.6°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#180F59
RGBrgb(24, 15, 89)
HSLhsl(247, 71%, 20%)
HSVhsv(247, 83%, 35%)
CMYKcmyk(73%, 83.1%, 0%, 65.1%)
CIE-LABlab(10.97, 29.41, -42.42)
CIE-LCHlch(10.97, 51.62, 304.74°)
OKLaboklab(24.55% 0.0164 -0.1225)
OKLCHoklch(24.55% 0.124 277.6)
XYZxyz(2.3501, 1.2569, 9.5680)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180F59 #50590F
analogous
#0F2B59 #180F59 #3D0F59
triadic
#180F59 #59180F #0F5918
tetradic
#180F59 #590F2B #50590F #0F593D
square
#180F59 #590F2B #50590F #0F593D
split-complementary
#180F59 #593D0F #2B590F
monochromatic
#07041A #0A0625 #180F59 #26188D #3421C2

Accessibility & contrast

On white

16.78
#180F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#180F59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180F59
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180F59#FFFFFF#000000##FFFFFF
##180F591.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00205B
Deuteranopia (green-blind)
#001A58
Tritanopia (blue-blind)
#002533
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #180f59;
/* rgb */ color: rgb(24, 15, 89);
/* oklch */ color: oklch(24.5% 0.124 277.6);
Tailwind
colors: {
  custom: {
    50: '#604f89',
    500: '#180f59',
    950: '#000000',
  },
}
SCSS
$custom: #180f59;
$custom-light: #604f89;
$custom-dark: #000000;
JSON
{
  "hex": "#180f59",
  "rgb": {
    "r": 24,
    "g": 15,
    "b": 89
  },
  "hsl": {
    "h": 247.297,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.24545,
    "c": 0.12364,
    "h": 277.6
  },
  "luminance": 0.01257
}

Semantic roles & 50–950 ramp

primary
#180F59
secondary
#879331
accent
#EE3AD8
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #180F59

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

Preview Lab → · Contrast checker → · Palette generator →

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