#181E73#181E73

#181E73 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.9% C 0.142 H 271.1°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#181E73
RGBrgb(24, 30, 115)
HSLhsl(236, 65%, 27%)
HSVhsv(236, 79%, 45%)
CMYKcmyk(79.1%, 73.9%, 0%, 54.9%)
CIE-LABlab(17.27, 29.54, -49.18)
CIE-LCHlch(17.27, 57.37, 300.99°)
OKLaboklab(29.91% 0.0026 -0.1424)
OKLCHoklch(29.91% 0.142 271.1)
XYZxyz(3.9344, 2.3601, 16.4645)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181E73 #736D18
analogous
#184C73 #181E73 #401873
triadic
#181E73 #73181E #1E7318
tetradic
#181E73 #73184C #736D18 #187340
square
#181E73 #73184C #736D18 #187340
split-complementary
#181E73 #734018 #4C7318
monochromatic
#050719 #0D1140 #181E73 #232BA6 #313CD4

Accessibility & contrast

On white

14.26
#181E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#181E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181E73
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181E73#FFFFFF#000000##FFFFFF
##181E731.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F76
Deuteranopia (green-blind)
#002671
Tritanopia (blue-blind)
#003646
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #181e73;
/* rgb */ color: rgb(24, 30, 115);
/* oklch */ color: oklch(29.9% 0.142 271.1);
Tailwind
colors: {
  custom: {
    50: '#665a9c',
    500: '#181e73',
    950: '#000000',
  },
}
SCSS
$custom: #181e73;
$custom-light: #665a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#181e73",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 115
  },
  "hsl": {
    "h": 236.044,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29907,
    "c": 0.14239,
    "h": 271.1
  },
  "luminance": 0.02361
}

Semantic roles & 50–950 ramp

primary
#181E73
secondary
#A8A13F
accent
#DD3FE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #181E73

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

Preview Lab → · Contrast checker → · Palette generator →

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