#180E5A#180E5A

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

Color values

HEX#180E5A
RGBrgb(24, 14, 90)
HSLhsl(248, 73%, 20%)
HSVhsv(248, 84%, 35%)
CMYKcmyk(73.3%, 84.4%, 0%, 64.7%)
CIE-LABlab(10.89, 30.33, -43.22)
CIE-LCHlch(10.89, 52.80, 305.06°)
OKLaboklab(24.53% 0.0167 -0.1249)
OKLCHoklch(24.53% 0.126 277.6)
XYZxyz(2.3786, 1.2462, 9.7861)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180E5A #505A0E
analogous
#0E2A5A #180E5A #3E0E5A
triadic
#180E5A #5A180E #0E5A18
tetradic
#180E5A #5A0E2A #505A0E #0E5A3E
square
#180E5A #5A0E2A #505A0E #0E5A3E
split-complementary
#180E5A #5A3E0E #2A5A0E
monochromatic
#07041A #0A0625 #180E5A #26168F #341EC4

Accessibility & contrast

On white

16.81
#180E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180E5A
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180E5A#FFFFFF#000000##FFFFFF
##180E5A1.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00205C
Deuteranopia (green-blind)
#001A59
Tritanopia (blue-blind)
#002534
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #180e5a;
/* rgb */ color: rgb(24, 14, 90);
/* oklch */ color: oklch(24.5% 0.126 277.6);
Tailwind
colors: {
  custom: {
    50: '#614f8a',
    500: '#180e5a',
    950: '#000000',
  },
}
SCSS
$custom: #180e5a;
$custom-light: #614f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#180e5a",
  "rgb": {
    "r": 24,
    "g": 14,
    "b": 90
  },
  "hsl": {
    "h": 247.895,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.24527,
    "c": 0.12598,
    "h": 277.6
  },
  "luminance": 0.01246
}

Semantic roles & 50–950 ramp

primary
#180E5A
secondary
#879430
accent
#F038D8
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #180E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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