#181D49#181D49

#181D49 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.5% C 0.081 H 274.2°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#181D49
RGBrgb(24, 29, 73)
HSLhsl(234, 51%, 19%)
HSVhsv(234, 67%, 29%)
CMYKcmyk(67.1%, 60.3%, 0%, 71.4%)
CIE-LABlab(12.95, 13.69, -28.24)
CIE-LCHlch(12.95, 31.38, 295.86°)
OKLaboklab(25.49% 0.006 -0.081)
OKLCHoklch(25.49% 0.081 274.2)
XYZxyz(2.0183, 1.5538, 6.4956)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181D49 #494418
analogous
#183649 #181D49 #2C1849
triadic
#181D49 #49181D #1D4918
tetradic
#181D49 #491836 #494418 #18492C
square
#181D49 #491836 #494418 #18492C
split-complementary
#181D49 #492C18 #364918
monochromatic
#080917 #090B1B #181D49 #272F77 #3642A5

Accessibility & contrast

On white

16.02
#181D49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181D49
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181D49#FFFFFF#000000##FFFFFF
##181D491.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02244B
Deuteranopia (green-blind)
#001F48
Tritanopia (blue-blind)
#00272F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #181d49;
/* rgb */ color: rgb(24, 29, 73);
/* oklch */ color: oklch(25.5% 0.081 274.2);
Tailwind
colors: {
  custom: {
    50: '#5b587c',
    500: '#181d49',
    950: '#000000',
  },
}
SCSS
$custom: #181d49;
$custom-light: #5b587c;
$custom-dark: #000000;
JSON
{
  "hex": "#181d49",
  "rgb": {
    "r": 24,
    "g": 29,
    "b": 73
  },
  "hsl": {
    "h": 233.878,
    "s": 50.515,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25486,
    "c": 0.08122,
    "h": 274.2
  },
  "luminance": 0.01554
}

Semantic roles & 50–950 ramp

primary
#181D49
secondary
#80793D
accent
#CC4EDA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #181D49

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

Preview Lab → · Contrast checker → · Palette generator →

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