#180F55#180F55

#180F55 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.1% C 0.118 H 278.5°. Best body text is #FFFFFF at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#180F55
RGBrgb(24, 15, 85)
HSLhsl(248, 70%, 20%)
HSVhsv(248, 82%, 33%)
CMYKcmyk(71.8%, 82.4%, 0%, 66.7%)
CIE-LABlab(10.49, 28.01, -40.49)
CIE-LCHlch(10.49, 49.23, 304.67°)
OKLaboklab(24.07% 0.0175 -0.1169)
OKLCHoklch(24.07% 0.118 278.5)
XYZxyz(2.1867, 1.1915, 8.7073)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180F55 #4C550F
analogous
#0F2955 #180F55 #3B0F55
triadic
#180F55 #55180F #0F5518
tetradic
#180F55 #550F29 #4C550F #0F553B
square
#180F55 #550F29 #4C550F #0F553B
split-complementary
#180F55 #553B0F #29550F
monochromatic
#07051A #090621 #180F55 #271889 #3521BD

Accessibility & contrast

On white

16.96
#180F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#180F55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180F55
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180F55#FFFFFF#000000##FFFFFF
##180F551.0016.961.2416.96
#FFFFFF16.961.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F57
Deuteranopia (green-blind)
#001A54
Tritanopia (blue-blind)
#002331
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #180f55;
/* rgb */ color: rgb(24, 15, 85);
/* oklch */ color: oklch(24.1% 0.118 278.5);
Tailwind
colors: {
  custom: {
    50: '#5f4f86',
    500: '#180f55',
    950: '#000000',
  },
}
SCSS
$custom: #180f55;
$custom-light: #5f4f86;
$custom-dark: #000000;
JSON
{
  "hex": "#180f55",
  "rgb": {
    "r": 24,
    "g": 15,
    "b": 85
  },
  "hsl": {
    "h": 247.714,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.24069,
    "c": 0.11824,
    "h": 278.5
  },
  "luminance": 0.01192
}

Semantic roles & 50–950 ramp

primary
#180F55
secondary
#838F31
accent
#ED3BD6
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #180F55

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

Preview Lab → · Contrast checker → · Palette generator →

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