#180E66#180E66

#180E66 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.0% C 0.142 H 275.3°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#180E66
RGBrgb(24, 14, 102)
HSLhsl(247, 76%, 23%)
HSVhsv(247, 86%, 40%)
CMYKcmyk(76.5%, 86.3%, 0%, 60%)
CIE-LABlab(12.40, 34.39, -48.75)
CIE-LCHlch(12.40, 59.66, 305.20°)
OKLaboklab(26.01% 0.013 -0.1409)
OKLCHoklch(26.01% 0.142 275.3)
XYZxyz(2.9312, 1.4673, 12.6965)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180E66 #5C660E
analogous
#0E3066 #180E66 #440E66
triadic
#180E66 #66180E #0E6618
tetradic
#180E66 #660E30 #5C660E #0E6644
square
#180E66 #660E30 #5C660E #0E6644
split-complementary
#180E66 #66440E #30660E
monochromatic
#06041B #0B0730 #180E66 #25159C #311DD2

Accessibility & contrast

On white

16.23
#180E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#180E66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180E66
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180E66#FFFFFF#000000##FFFFFF
##180E661.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002468
Deuteranopia (green-blind)
#001C65
Tritanopia (blue-blind)
#002A3B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #180e66;
/* rgb */ color: rgb(24, 14, 102);
/* oklch */ color: oklch(26.0% 0.142 275.3);
Tailwind
colors: {
  custom: {
    50: '#645093',
    500: '#180e66',
    950: '#000000',
  },
}
SCSS
$custom: #180e66;
$custom-light: #645093;
$custom-dark: #000000;
JSON
{
  "hex": "#180e66",
  "rgb": {
    "r": 24,
    "g": 14,
    "b": 102
  },
  "hsl": {
    "h": 246.818,
    "s": 75.862,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26012,
    "c": 0.14153,
    "h": 275.3
  },
  "luminance": 0.01468
}

Semantic roles & 50–950 ramp

primary
#180E66
secondary
#939F31
accent
#F235DD
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #180E66

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

Preview Lab → · Contrast checker → · Palette generator →

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