#181E43#181E43

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

Color values

HEX#181E43
RGBrgb(24, 30, 67)
HSLhsl(232, 47%, 18%)
HSVhsv(232, 64%, 26%)
CMYKcmyk(64.2%, 55.2%, 0%, 73.7%)
CIE-LABlab(12.78, 10.52, -24.33)
CIE-LCHlch(12.78, 26.51, 293.38°)
OKLaboklab(25.21% 0.0042 -0.0695)
OKLCHoklch(25.21% 0.07 273.5)
XYZxyz(1.8538, 1.5278, 5.5063)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181E43 #433D18
analogous
#183343 #181E43 #271843
triadic
#181E43 #43181E #1E4318
tetradic
#181E43 #431833 #433D18 #184327
square
#181E43 #431833 #433D18 #184327
split-complementary
#181E43 #432718 #334318
monochromatic
#080A17 #080A17 #181E43 #283270 #38469D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##181E43#FFFFFF#000000##FFFFFF
##181E431.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)
#0C2344
Deuteranopia (green-blind)
#061F42
Tritanopia (blue-blind)
#01262D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #181e43;
/* rgb */ color: rgb(24, 30, 67);
/* oklch */ color: oklch(25.2% 0.070 273.5);
Tailwind
colors: {
  custom: {
    50: '#595977',
    500: '#181e43',
    950: '#000000',
  },
}
SCSS
$custom: #181e43;
$custom-light: #595977;
$custom-dark: #000000;
JSON
{
  "hex": "#181e43",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 67
  },
  "hsl": {
    "h": 231.628,
    "s": 47.253,
    "l": 17.843
  },
  "oklch": {
    "l": 0.25213,
    "c": 0.06962,
    "h": 273.5
  },
  "luminance": 0.01528
}

Semantic roles & 50–950 ramp

primary
#181E43
secondary
#7A713D
accent
#C451D7
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #181E43

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

Preview Lab → · Contrast checker → · Palette generator →

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