#181A47#181A47

#181A47 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.6% C 0.083 H 276.6°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#181A47
RGBrgb(24, 26, 71)
HSLhsl(237, 49%, 19%)
HSVhsv(237, 66%, 28%)
CMYKcmyk(66.2%, 63.4%, 0%, 72.2%)
CIE-LABlab(11.88, 15.14, -28.59)
CIE-LCHlch(11.88, 32.35, 297.90°)
OKLaboklab(24.63% 0.0094 -0.082)
OKLCHoklch(24.63% 0.083 276.6)
XYZxyz(1.8830, 1.3878, 6.1287)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A47 #474518
analogous
#183147 #181A47 #2D1847
triadic
#181A47 #47181A #1A4718
tetradic
#181A47 #471831 #474518 #18472D
square
#181A47 #471831 #474518 #18472D
split-complementary
#181A47 #472D18 #314718
monochromatic
#080817 #090919 #181A47 #272B75 #373BA2

Accessibility & contrast

On white

16.44
#181A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#181A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181A47
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A47#FFFFFF#000000##FFFFFF
##181A471.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002149
Deuteranopia (green-blind)
#001D46
Tritanopia (blue-blind)
#00252D
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #181a47;
/* rgb */ color: rgb(24, 26, 71);
/* oklch */ color: oklch(24.6% 0.083 276.6);
Tailwind
colors: {
  custom: {
    50: '#5b567b',
    500: '#181a47',
    950: '#000000',
  },
}
SCSS
$custom: #181a47;
$custom-light: #5b567b;
$custom-dark: #000000;
JSON
{
  "hex": "#181a47",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 71
  },
  "hsl": {
    "h": 237.447,
    "s": 49.474,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24634,
    "c": 0.08259,
    "h": 276.6
  },
  "luminance": 0.01388
}

Semantic roles & 50–950 ramp

primary
#181A47
secondary
#7E7B3D
accent
#D34FD9
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #181A47

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

Preview Lab → · Contrast checker → · Palette generator →

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