#181D43#181D43

#181D43 is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 25.0% C 0.071 H 274.4°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#181D43
RGBrgb(24, 29, 67)
HSLhsl(233, 47%, 18%)
HSVhsv(233, 64%, 26%)
CMYKcmyk(64.2%, 56.7%, 0%, 73.7%)
CIE-LABlab(12.47, 11.28, -24.84)
CIE-LCHlch(12.47, 27.28, 294.42°)
OKLaboklab(24.97% 0.0055 -0.071)
OKLCHoklch(24.97% 0.071 274.4)
XYZxyz(1.8288, 1.4780, 5.4980)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181D43 #433E18
analogous
#183243 #181D43 #281843
triadic
#181D43 #43181D #1D4318
tetradic
#181D43 #431832 #433E18 #184328
square
#181D43 #431832 #433E18 #184328
split-complementary
#181D43 #432818 #324318
monochromatic
#080A17 #080A17 #181D43 #283170 #38449D

Accessibility & contrast

On white

16.21
#181D43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#181D43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181D43
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181D43#FFFFFF#000000##FFFFFF
##181D431.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092244
Deuteranopia (green-blind)
#041F42
Tritanopia (blue-blind)
#02262C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #181d43;
/* rgb */ color: rgb(24, 29, 67);
/* oklch */ color: oklch(25.0% 0.071 274.4);
Tailwind
colors: {
  custom: {
    50: '#595877',
    500: '#181d43',
    950: '#000000',
  },
}
SCSS
$custom: #181d43;
$custom-light: #595877;
$custom-dark: #000000;
JSON
{
  "hex": "#181d43",
  "rgb": {
    "r": 24,
    "g": 29,
    "b": 67
  },
  "hsl": {
    "h": 233.023,
    "s": 47.253,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24973,
    "c": 0.0712,
    "h": 274.4
  },
  "luminance": 0.01478
}

Semantic roles & 50–950 ramp

primary
#181D43
secondary
#7A733D
accent
#C751D7
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #181D43

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

Preview Lab → · Contrast checker → · Palette generator →

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