#181D44#181D44

#181D44 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.1% C 0.073 H 274.4°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#181D44
RGBrgb(24, 29, 68)
HSLhsl(233, 48%, 18%)
HSVhsv(233, 65%, 27%)
CMYKcmyk(64.7%, 57.4%, 0%, 73.3%)
CIE-LABlab(12.54, 11.68, -25.41)
CIE-LCHlch(12.54, 27.97, 294.68°)
OKLaboklab(25.06% 0.0056 -0.0727)
OKLCHoklch(25.06% 0.073 274.4)
XYZxyz(1.8591, 1.4901, 5.6574)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181D44 #443F18
analogous
#183344 #181D44 #291844
triadic
#181D44 #44181D #1D4418
tetradic
#181D44 #441833 #443F18 #184429
square
#181D44 #441833 #443F18 #184429
split-complementary
#181D44 #442918 #334418
monochromatic
#080A17 #080A17 #181D44 #283071 #38449E

Accessibility & contrast

On white

16.18
#181D44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181D44
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181D44#FFFFFF#000000##FFFFFF
##181D441.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082345
Deuteranopia (green-blind)
#021F43
Tritanopia (blue-blind)
#01262D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #181d44;
/* rgb */ color: rgb(24, 29, 68);
/* oklch */ color: oklch(25.1% 0.073 274.4);
Tailwind
colors: {
  custom: {
    50: '#5a5878',
    500: '#181d44',
    950: '#000000',
  },
}
SCSS
$custom: #181d44;
$custom-light: #5a5878;
$custom-dark: #000000;
JSON
{
  "hex": "#181d44",
  "rgb": {
    "r": 24,
    "g": 29,
    "b": 68
  },
  "hsl": {
    "h": 233.182,
    "s": 47.826,
    "l": 18.039
  },
  "oklch": {
    "l": 0.25057,
    "c": 0.07289,
    "h": 274.4
  },
  "luminance": 0.0149
}

Semantic roles & 50–950 ramp

primary
#181D44
secondary
#7B743D
accent
#C850D7
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #181D44

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

Preview Lab → · Contrast checker → · Palette generator →

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