#181D76#181D76

#181D76 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.1% C 0.148 H 271.0°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#181D76
RGBrgb(24, 29, 118)
HSLhsl(237, 66%, 28%)
HSVhsv(237, 80%, 46%)
CMYKcmyk(79.7%, 75.4%, 0%, 53.7%)
CIE-LABlab(17.37, 31.31, -50.96)
CIE-LCHlch(17.37, 59.81, 301.57°)
OKLaboklab(30.07% 0.0027 -0.1475)
OKLCHoklch(30.07% 0.148 271)
XYZxyz(4.0850, 2.3805, 17.3802)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181D76 #767118
analogous
#184C76 #181D76 #421876
triadic
#181D76 #76181D #1D7618
tetradic
#181D76 #76184C #767118 #187642
square
#181D76 #76184C #767118 #187642
split-complementary
#181D76 #764218 #4C7618
monochromatic
#050619 #0E1143 #181D76 #2229A9 #333CD5

Accessibility & contrast

On white

14.23
#181D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#181D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181D76
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181D76#FFFFFF#000000##FFFFFF
##181D761.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F79
Deuteranopia (green-blind)
#002674
Tritanopia (blue-blind)
#003647
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #181d76;
/* rgb */ color: rgb(24, 29, 118);
/* oklch */ color: oklch(30.1% 0.148 271.0);
Tailwind
colors: {
  custom: {
    50: '#675a9f',
    500: '#181d76',
    950: '#000000',
  },
}
SCSS
$custom: #181d76;
$custom-light: #675a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#181d76",
  "rgb": {
    "r": 24,
    "g": 29,
    "b": 118
  },
  "hsl": {
    "h": 236.809,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30074,
    "c": 0.14755,
    "h": 271
  },
  "luminance": 0.02381
}

Semantic roles & 50–950 ramp

primary
#181D76
secondary
#ABA53F
accent
#E03FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #181D76

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

Preview Lab → · Contrast checker → · Palette generator →

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