#180E50#180E50

#180E50 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.3% C 0.112 H 280.0°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#180E50
RGBrgb(24, 14, 80)
HSLhsl(249, 70%, 18%)
HSVhsv(249, 83%, 31%)
CMYKcmyk(70%, 82.5%, 0%, 68.6%)
CIE-LABlab(9.70, 26.84, -38.37)
CIE-LCHlch(9.70, 46.83, 304.96°)
OKLaboklab(23.33% 0.0196 -0.1108)
OKLCHoklch(23.33% 0.112 280)
XYZxyz(1.9812, 1.0873, 7.6933)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180E50 #46500E
analogous
#0E2550 #180E50 #390E50
triadic
#180E50 #50180E #0E5018
tetradic
#180E50 #500E25 #46500E #0E5039
square
#180E50 #500E25 #46500E #0E5039
split-complementary
#180E50 #50390E #25500E
monochromatic
#08051A #08051C #180E50 #281784 #3720B8

Accessibility & contrast

On white

17.25
#180E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180E50
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180E50#FFFFFF#000000##FFFFFF
##180E501.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D52
Deuteranopia (green-blind)
#00184F
Tritanopia (blue-blind)
#00212E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #180e50;
/* rgb */ color: rgb(24, 14, 80);
/* oklch */ color: oklch(23.3% 0.112 280.0);
Tailwind
colors: {
  custom: {
    50: '#5e4e82',
    500: '#180e50',
    950: '#000000',
  },
}
SCSS
$custom: #180e50;
$custom-light: #5e4e82;
$custom-dark: #000000;
JSON
{
  "hex": "#180e50",
  "rgb": {
    "r": 24,
    "g": 14,
    "b": 80
  },
  "hsl": {
    "h": 249.091,
    "s": 70.213,
    "l": 18.431
  },
  "oklch": {
    "l": 0.23334,
    "c": 0.11248,
    "h": 280
  },
  "luminance": 0.01087
}

Semantic roles & 50–950 ramp

primary
#180E50
secondary
#7D8B2F
accent
#ED3BD2
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010A
muted
#79777C

Preview Lab

Preview with #180E50

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

Preview Lab → · Contrast checker → · Palette generator →

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