#180E54#180E54

#180E54 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.8% C 0.118 H 279.0°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#180E54
RGBrgb(24, 14, 84)
HSLhsl(249, 71%, 19%)
HSVhsv(249, 83%, 33%)
CMYKcmyk(71.4%, 83.3%, 0%, 67.1%)
CIE-LABlab(10.17, 28.24, -40.34)
CIE-LCHlch(10.17, 49.24, 305.00°)
OKLaboklab(23.81% 0.0185 -0.1165)
OKLCHoklch(23.81% 0.118 279)
XYZxyz(2.1334, 1.1482, 8.4950)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180E54 #4A540E
analogous
#0E2754 #180E54 #3B0E54
triadic
#180E54 #54180E #0E5418
tetradic
#180E54 #540E27 #4A540E #0E543B
square
#180E54 #540E27 #4A540E #0E543B
split-complementary
#180E54 #543B0E #27540E
monochromatic
#07041A #090520 #180E54 #271788 #361FBD

Accessibility & contrast

On white

17.08
#180E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#180E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180E54
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180E54#FFFFFF#000000##FFFFFF
##180E541.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E56
Deuteranopia (green-blind)
#001953
Tritanopia (blue-blind)
#002330
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #180e54;
/* rgb */ color: rgb(24, 14, 84);
/* oklch */ color: oklch(23.8% 0.118 279.0);
Tailwind
colors: {
  custom: {
    50: '#5f4e85',
    500: '#180e54',
    950: '#000000',
  },
}
SCSS
$custom: #180e54;
$custom-light: #5f4e85;
$custom-dark: #000000;
JSON
{
  "hex": "#180e54",
  "rgb": {
    "r": 24,
    "g": 14,
    "b": 84
  },
  "hsl": {
    "h": 248.571,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.23806,
    "c": 0.11794,
    "h": 279
  },
  "luminance": 0.01148
}

Semantic roles & 50–950 ramp

primary
#180E54
secondary
#818E2F
accent
#EE3AD4
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #180E54

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

Preview Lab → · Contrast checker → · Palette generator →

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