#181E34#181E34

#181E34 is a very dark, muted blue. Relative luminance 0.014; OKLCH L 24.1% C 0.043 H 271.3°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#181E34
RGBrgb(24, 30, 52)
HSLhsl(227, 37%, 15%)
HSVhsv(227, 54%, 20%)
CMYKcmyk(53.8%, 42.3%, 0%, 79.6%)
CIE-LABlab(11.76, 4.65, -15.34)
CIE-LCHlch(11.76, 16.03, 286.87°)
OKLaboklab(24.1% 0.001 -0.0431)
OKLCHoklch(24.1% 0.043 271.3)
XYZxyz(1.4606, 1.3706, 3.4357)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181E34 #342E18
analogous
#182C34 #181E34 #201834
triadic
#181E34 #34181E #1E3418
tetradic
#181E34 #34182C #342E18 #183420
square
#181E34 #34182C #342E18 #183420
split-complementary
#181E34 #342018 #2C3418
monochromatic
#0A0C15 #0A0C15 #181E34 #2B365E #3F4E88

Accessibility & contrast

On white

16.48
#181E34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#181E34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181E34
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181E34#FFFFFF#000000##FFFFFF
##181E341.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162035
Deuteranopia (green-blind)
#131E34
Tritanopia (blue-blind)
#0E2326
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #181e34;
/* rgb */ color: rgb(24, 30, 52);
/* oklch */ color: oklch(24.1% 0.043 271.3);
Tailwind
colors: {
  custom: {
    50: '#56596b',
    500: '#181e34',
    950: '#000000',
  },
}
SCSS
$custom: #181e34;
$custom-light: #56596b;
$custom-dark: #000000;
JSON
{
  "hex": "#181e34",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 52
  },
  "hsl": {
    "h": 227.143,
    "s": 36.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24098,
    "c": 0.04316,
    "h": 271.3
  },
  "luminance": 0.01371
}

Semantic roles & 50–950 ramp

primary
#181E34
secondary
#6A603E
accent
#B45BCD
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030306
muted
#78787A

Preview Lab

Preview with #181E34

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

Preview Lab → · Contrast checker → · Palette generator →

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