#181D55#181D55

#181D55 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.6% C 0.100 H 273.5°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#181D55
RGBrgb(24, 29, 85)
HSLhsl(235, 56%, 21%)
HSVhsv(235, 72%, 33%)
CMYKcmyk(71.8%, 65.9%, 0%, 66.7%)
CIE-LABlab(13.99, 18.52, -34.75)
CIE-LCHlch(13.99, 39.38, 298.06°)
OKLaboklab(26.6% 0.0062 -0.1001)
OKLCHoklch(26.6% 0.1 273.5)
XYZxyz(2.4552, 1.7286, 8.7968)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181D55 #555018
analogous
#183C55 #181D55 #321855
triadic
#181D55 #55181D #1D5518
tetradic
#181D55 #55183C #555018 #185532
square
#181D55 #55183C #555018 #185532
split-complementary
#181D55 #553218 #3C5518
monochromatic
#070818 #0B0D25 #181D55 #252D85 #333EB4

Accessibility & contrast

On white

15.60
#181D55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#181D55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181D55
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181D55#FFFFFF#000000##FFFFFF
##181D551.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002657
Deuteranopia (green-blind)
#002154
Tritanopia (blue-blind)
#002B35
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #181d55;
/* rgb */ color: rgb(24, 29, 85);
/* oklch */ color: oklch(26.6% 0.100 273.5);
Tailwind
colors: {
  custom: {
    50: '#5e5885',
    500: '#181d55',
    950: '#000000',
  },
}
SCSS
$custom: #181d55;
$custom-light: #5e5885;
$custom-dark: #000000;
JSON
{
  "hex": "#181d55",
  "rgb": {
    "r": 24,
    "g": 29,
    "b": 85
  },
  "hsl": {
    "h": 235.082,
    "s": 55.963,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26595,
    "c": 0.10032,
    "h": 273.5
  },
  "luminance": 0.01729
}

Semantic roles & 50–950 ramp

primary
#181D55
secondary
#8C853D
accent
#D349DF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #181D55

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

Preview Lab → · Contrast checker → · Palette generator →

#181D55 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva