#180E5E#180E5E

#180E5E is a dark, vivid blue. Relative luminance 0.013; OKLCH L 25.0% C 0.131 H 276.8°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#180E5E
RGBrgb(24, 14, 94)
HSLhsl(248, 74%, 21%)
HSVhsv(248, 85%, 37%)
CMYKcmyk(74.5%, 85.1%, 0%, 63.1%)
CIE-LABlab(11.39, 31.70, -45.09)
CIE-LCHlch(11.39, 55.12, 305.10°)
OKLaboklab(25.02% 0.0155 -0.1303)
OKLCHoklch(25.02% 0.131 276.8)
XYZxyz(2.5534, 1.3162, 10.7070)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180E5E #545E0E
analogous
#0E2C5E #180E5E #400E5E
triadic
#180E5E #5E180E #0E5E18
tetradic
#180E5E #5E0E2C #545E0E #0E5E40
square
#180E5E #5E0E2C #545E0E #0E5E40
split-complementary
#180E5E #5E400E #2C5E0E
monochromatic
#07041B #0A0629 #180E5E #261693 #331EC9

Accessibility & contrast

On white

16.62
#180E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180E5E
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180E5E#FFFFFF#000000##FFFFFF
##180E5E1.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002260
Deuteranopia (green-blind)
#001B5D
Tritanopia (blue-blind)
#002736
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #180e5e;
/* rgb */ color: rgb(24, 14, 94);
/* oklch */ color: oklch(25.0% 0.131 276.8);
Tailwind
colors: {
  custom: {
    50: '#624f8d',
    500: '#180e5e',
    950: '#000000',
  },
}
SCSS
$custom: #180e5e;
$custom-light: #624f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#180e5e",
  "rgb": {
    "r": 24,
    "g": 14,
    "b": 94
  },
  "hsl": {
    "h": 247.5,
    "s": 74.074,
    "l": 21.176
  },
  "oklch": {
    "l": 0.25017,
    "c": 0.13123,
    "h": 276.8
  },
  "luminance": 0.01316
}

Semantic roles & 50–950 ramp

primary
#180E5E
secondary
#8B9830
accent
#F137DA
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #180E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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