#180E6A#180E6A

#180E6A is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.5% C 0.147 H 274.6°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#180E6A
RGBrgb(24, 14, 106)
HSLhsl(247, 77%, 24%)
HSVhsv(247, 87%, 42%)
CMYKcmyk(77.4%, 86.8%, 0%, 58.4%)
CIE-LABlab(12.91, 35.71, -50.53)
CIE-LCHlch(12.91, 61.88, 305.25°)
OKLaboklab(26.52% 0.0118 -0.1461)
OKLCHoklch(26.52% 0.147 274.6)
XYZxyz(3.1344, 1.5486, 13.7666)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180E6A #606A0E
analogous
#0E326A #180E6A #460E6A
triadic
#180E6A #6A180E #0E6A18
tetradic
#180E6A #6A0E32 #606A0E #0E6A46
square
#180E6A #6A0E32 #606A0E #0E6A46
split-complementary
#180E6A #6A460E #326A0E
monochromatic
#06041B #0C0734 #180E6A #2415A0 #301CD6

Accessibility & contrast

On white

16.03
#180E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#180E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180E6A
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180E6A#FFFFFF#000000##FFFFFF
##180E6A1.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00256C
Deuteranopia (green-blind)
#001D68
Tritanopia (blue-blind)
#002B3D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #180e6a;
/* rgb */ color: rgb(24, 14, 106);
/* oklch */ color: oklch(26.5% 0.147 274.6);
Tailwind
colors: {
  custom: {
    50: '#655096',
    500: '#180e6a',
    950: '#000000',
  },
}
SCSS
$custom: #180e6a;
$custom-light: #655096;
$custom-dark: #000000;
JSON
{
  "hex": "#180e6a",
  "rgb": {
    "r": 24,
    "g": 14,
    "b": 106
  },
  "hsl": {
    "h": 246.522,
    "s": 76.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.26517,
    "c": 0.14658,
    "h": 274.6
  },
  "luminance": 0.01549
}

Semantic roles & 50–950 ramp

primary
#180E6A
secondary
#96A331
accent
#F335DE
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #180E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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