#181D53#181D53

#181D53 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.4% C 0.097 H 273.7°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#181D53
RGBrgb(24, 29, 83)
HSLhsl(235, 55%, 21%)
HSVhsv(235, 71%, 33%)
CMYKcmyk(71.1%, 65.1%, 0%, 67.5%)
CIE-LABlab(13.81, 17.72, -33.69)
CIE-LCHlch(13.81, 38.07, 297.75°)
OKLaboklab(26.4% 0.0062 -0.097)
OKLCHoklch(26.4% 0.097 273.7)
XYZxyz(2.3769, 1.6972, 8.3843)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181D53 #534E18
analogous
#183A53 #181D53 #301853
triadic
#181D53 #53181D #1D5318
tetradic
#181D53 #53183A #534E18 #185330
square
#181D53 #53183A #534E18 #185330
split-complementary
#181D53 #533018 #3A5318
monochromatic
#070818 #0A0C24 #181D53 #262E82 #333EB2

Accessibility & contrast

On white

15.68
#181D53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#181D53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181D53
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181D53#FFFFFF#000000##FFFFFF
##181D531.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002655
Deuteranopia (green-blind)
#002152
Tritanopia (blue-blind)
#002A34
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #181d53;
/* rgb */ color: rgb(24, 29, 83);
/* oklch */ color: oklch(26.4% 0.097 273.7);
Tailwind
colors: {
  custom: {
    50: '#5d5884',
    500: '#181d53',
    950: '#000000',
  },
}
SCSS
$custom: #181d53;
$custom-light: #5d5884;
$custom-dark: #000000;
JSON
{
  "hex": "#181d53",
  "rgb": {
    "r": 24,
    "g": 29,
    "b": 83
  },
  "hsl": {
    "h": 234.915,
    "s": 55.14,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26403,
    "c": 0.09722,
    "h": 273.7
  },
  "luminance": 0.01697
}

Semantic roles & 50–950 ramp

primary
#181D53
secondary
#8A833D
accent
#D249DE
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #181D53

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

Preview Lab → · Contrast checker → · Palette generator →

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