#180E5D#180E5D

#180E5D is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.9% C 0.130 H 277.0°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#180E5D
RGBrgb(24, 14, 93)
HSLhsl(248, 74%, 21%)
HSVhsv(248, 85%, 36%)
CMYKcmyk(74.2%, 84.9%, 0%, 63.5%)
CIE-LABlab(11.26, 31.36, -44.63)
CIE-LCHlch(11.26, 54.54, 305.09°)
OKLaboklab(24.89% 0.0158 -0.129)
OKLCHoklch(24.89% 0.13 277)
XYZxyz(2.5089, 1.2984, 10.4722)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180E5D #535D0E
analogous
#0E2B5D #180E5D #3F0E5D
triadic
#180E5D #5D180E #0E5D18
tetradic
#180E5D #5D0E2B #535D0E #0E5D3F
square
#180E5D #5D0E2B #535D0E #0E5D3F
split-complementary
#180E5D #5D3F0E #2B5D0E
monochromatic
#07041B #0A0628 #180E5D #261692 #331EC7

Accessibility & contrast

On white

16.67
#180E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#180E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180E5D
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180E5D#FFFFFF#000000##FFFFFF
##180E5D1.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215F
Deuteranopia (green-blind)
#001B5C
Tritanopia (blue-blind)
#002636
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #180e5d;
/* rgb */ color: rgb(24, 14, 93);
/* oklch */ color: oklch(24.9% 0.130 277.0);
Tailwind
colors: {
  custom: {
    50: '#624f8c',
    500: '#180e5d',
    950: '#000000',
  },
}
SCSS
$custom: #180e5d;
$custom-light: #624f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#180e5d",
  "rgb": {
    "r": 24,
    "g": 14,
    "b": 93
  },
  "hsl": {
    "h": 247.595,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.24894,
    "c": 0.12993,
    "h": 277
  },
  "luminance": 0.01299
}

Semantic roles & 50–950 ramp

primary
#180E5D
secondary
#8A9730
accent
#F037D9
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #180E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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