#180E5F#180E5F

#180E5F is a dark, vivid blue. Relative luminance 0.013; OKLCH L 25.1% C 0.133 H 276.6°. Best body text is #FFFFFF at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#180E5F
RGBrgb(24, 14, 95)
HSLhsl(247, 74%, 21%)
HSVhsv(247, 85%, 37%)
CMYKcmyk(74.7%, 85.3%, 0%, 62.7%)
CIE-LABlab(11.51, 32.04, -45.56)
CIE-LCHlch(11.51, 55.69, 305.12°)
OKLaboklab(25.14% 0.0152 -0.1317)
OKLCHoklch(25.14% 0.133 276.6)
XYZxyz(2.5986, 1.3342, 10.9448)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180E5F #555F0E
analogous
#0E2D5F #180E5F #410E5F
triadic
#180E5F #5F180E #0E5F18
tetradic
#180E5F #5F0E2D #555F0E #0E5F41
square
#180E5F #5F0E2D #555F0E #0E5F41
split-complementary
#180E5F #5F410E #2D5F0E
monochromatic
#07041B #0B062A #180E5F #251694 #331ECA

Accessibility & contrast

On white

16.58
#180E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#180E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180E5F
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180E5F#FFFFFF#000000##FFFFFF
##180E5F1.0016.581.2716.58
#FFFFFF16.581.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002261
Deuteranopia (green-blind)
#001B5E
Tritanopia (blue-blind)
#002737
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #180e5f;
/* rgb */ color: rgb(24, 14, 95);
/* oklch */ color: oklch(25.1% 0.133 276.6);
Tailwind
colors: {
  custom: {
    50: '#624f8d',
    500: '#180e5f',
    950: '#000000',
  },
}
SCSS
$custom: #180e5f;
$custom-light: #624f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#180e5f",
  "rgb": {
    "r": 24,
    "g": 14,
    "b": 95
  },
  "hsl": {
    "h": 247.407,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.2514,
    "c": 0.13254,
    "h": 276.6
  },
  "luminance": 0.01334
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #180E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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