#180E52#180E52

#180E52 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.6% C 0.115 H 279.5°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#180E52
RGBrgb(24, 14, 82)
HSLhsl(249, 71%, 19%)
HSVhsv(249, 83%, 32%)
CMYKcmyk(70.7%, 82.9%, 0%, 67.8%)
CIE-LABlab(9.93, 27.54, -39.36)
CIE-LCHlch(9.93, 48.04, 304.98°)
OKLaboklab(23.57% 0.019 -0.1136)
OKLCHoklch(23.57% 0.115 279.5)
XYZxyz(2.0562, 1.1173, 8.0883)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180E52 #48520E
analogous
#0E2652 #180E52 #3A0E52
triadic
#180E52 #52180E #0E5218
tetradic
#180E52 #520E26 #48520E #0E523A
square
#180E52 #520E26 #48520E #0E523A
split-complementary
#180E52 #523A0E #26520E
monochromatic
#08041A #09051E #180E52 #271786 #3720BB

Accessibility & contrast

On white

17.17
#180E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180E52
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180E52#FFFFFF#000000##FFFFFF
##180E521.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E54
Deuteranopia (green-blind)
#001951
Tritanopia (blue-blind)
#00222F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #180e52;
/* rgb */ color: rgb(24, 14, 82);
/* oklch */ color: oklch(23.6% 0.115 279.5);
Tailwind
colors: {
  custom: {
    50: '#5f4e83',
    500: '#180e52',
    950: '#000000',
  },
}
SCSS
$custom: #180e52;
$custom-light: #5f4e83;
$custom-dark: #000000;
JSON
{
  "hex": "#180e52",
  "rgb": {
    "r": 24,
    "g": 14,
    "b": 82
  },
  "hsl": {
    "h": 248.824,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.23569,
    "c": 0.11522,
    "h": 279.5
  },
  "luminance": 0.01117
}

Semantic roles & 50–950 ramp

primary
#180E52
secondary
#7F8C2F
accent
#EE3AD3
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #180E52

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

Preview Lab → · Contrast checker → · Palette generator →

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