#181D73#181D73

#181D73 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.7% C 0.144 H 271.3°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#181D73
RGBrgb(24, 29, 115)
HSLhsl(237, 65%, 27%)
HSVhsv(237, 79%, 45%)
CMYKcmyk(79.1%, 74.8%, 0%, 54.9%)
CIE-LABlab(17.04, 30.19, -49.57)
CIE-LCHlch(17.04, 58.04, 301.34°)
OKLaboklab(29.74% 0.0031 -0.1435)
OKLCHoklch(29.74% 0.144 271.3)
XYZxyz(3.9095, 2.3103, 16.4562)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181D73 #736E18
analogous
#184B73 #181D73 #401873
triadic
#181D73 #73181D #1D7318
tetradic
#181D73 #73184B #736E18 #187340
square
#181D73 #73184B #736E18 #187340
split-complementary
#181D73 #734018 #4B7318
monochromatic
#050619 #0D1040 #181D73 #232AA6 #313AD4

Accessibility & contrast

On white

14.36
#181D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#181D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181D73
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181D73#FFFFFF#000000##FFFFFF
##181D731.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #181d73;
/* rgb */ color: rgb(24, 29, 115);
/* oklch */ color: oklch(29.7% 0.144 271.3);
Tailwind
colors: {
  custom: {
    50: '#66599c',
    500: '#181d73',
    950: '#000000',
  },
}
SCSS
$custom: #181d73;
$custom-light: #66599c;
$custom-dark: #000000;
JSON
{
  "hex": "#181d73",
  "rgb": {
    "r": 24,
    "g": 29,
    "b": 115
  },
  "hsl": {
    "h": 236.703,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29738,
    "c": 0.14353,
    "h": 271.3
  },
  "luminance": 0.02311
}

Semantic roles & 50–950 ramp

primary
#181D73
secondary
#A8A23F
accent
#DF3FE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #181D73

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

Preview Lab → · Contrast checker → · Palette generator →

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