#181D47#181D47

#181D47 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.3% C 0.078 H 274.3°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#181D47
RGBrgb(24, 29, 71)
HSLhsl(234, 49%, 19%)
HSVhsv(234, 66%, 28%)
CMYKcmyk(66.2%, 59.2%, 0%, 72.2%)
CIE-LABlab(12.78, 12.88, -27.12)
CIE-LCHlch(12.78, 30.02, 295.41°)
OKLaboklab(25.31% 0.0059 -0.0777)
OKLCHoklch(25.31% 0.078 274.3)
XYZxyz(1.9530, 1.5277, 6.1520)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181D47 #474218
analogous
#183447 #181D47 #2A1847
triadic
#181D47 #47181D #1D4718
tetradic
#181D47 #471834 #474218 #18472A
square
#181D47 #471834 #474218 #18472A
split-complementary
#181D47 #472A18 #344718
monochromatic
#080917 #090A19 #181D47 #273075 #3742A2

Accessibility & contrast

On white

16.08
#181D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#181D47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181D47
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181D47#FFFFFF#000000##FFFFFF
##181D471.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052348
Deuteranopia (green-blind)
#001F46
Tritanopia (blue-blind)
#00272E
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #181d47;
/* rgb */ color: rgb(24, 29, 71);
/* oklch */ color: oklch(25.3% 0.078 274.3);
Tailwind
colors: {
  custom: {
    50: '#5a587a',
    500: '#181d47',
    950: '#000000',
  },
}
SCSS
$custom: #181d47;
$custom-light: #5a587a;
$custom-dark: #000000;
JSON
{
  "hex": "#181d47",
  "rgb": {
    "r": 24,
    "g": 29,
    "b": 71
  },
  "hsl": {
    "h": 233.617,
    "s": 49.474,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25312,
    "c": 0.07791,
    "h": 274.3
  },
  "luminance": 0.01528
}

Semantic roles & 50–950 ramp

primary
#181D47
secondary
#7E773D
accent
#CA4FD9
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #181D47

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

Preview Lab → · Contrast checker → · Palette generator →

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