#180E5B#180E5B

#180E5B is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.6% C 0.127 H 277.4°. Best body text is #FFFFFF at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#180E5B
RGBrgb(24, 14, 91)
HSLhsl(248, 73%, 21%)
HSVhsv(248, 85%, 36%)
CMYKcmyk(73.6%, 84.6%, 0%, 64.3%)
CIE-LABlab(11.02, 30.67, -43.69)
CIE-LCHlch(11.02, 53.38, 305.07°)
OKLaboklab(24.65% 0.0164 -0.1262)
OKLCHoklch(24.65% 0.127 277.4)
XYZxyz(2.4214, 1.2634, 10.0117)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180E5B #515B0E
analogous
#0E2A5B #180E5B #3E0E5B
triadic
#180E5B #5B180E #0E5B18
tetradic
#180E5B #5B0E2A #515B0E #0E5B3E
square
#180E5B #5B0E2A #515B0E #0E5B3E
split-complementary
#180E5B #5B3E0E #2A5B0E
monochromatic
#07041B #0A0626 #180E5B #261690 #341EC5

Accessibility & contrast

On white

16.76
#180E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180E5B
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180E5B#FFFFFF#000000##FFFFFF
##180E5B1.0016.761.2516.76
#FFFFFF16.761.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215D
Deuteranopia (green-blind)
#001A5A
Tritanopia (blue-blind)
#002534
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #180e5b;
/* rgb */ color: rgb(24, 14, 91);
/* oklch */ color: oklch(24.6% 0.127 277.4);
Tailwind
colors: {
  custom: {
    50: '#614f8a',
    500: '#180e5b',
    950: '#000000',
  },
}
SCSS
$custom: #180e5b;
$custom-light: #614f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#180e5b",
  "rgb": {
    "r": 24,
    "g": 14,
    "b": 91
  },
  "hsl": {
    "h": 247.792,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.24649,
    "c": 0.1273,
    "h": 277.4
  },
  "luminance": 0.01264
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #180E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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