#181C73#181C73

#181C73 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.6% C 0.145 H 271.4°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#181C73
RGBrgb(24, 28, 115)
HSLhsl(237, 65%, 27%)
HSVhsv(237, 79%, 45%)
CMYKcmyk(79.1%, 75.7%, 0%, 54.9%)
CIE-LABlab(16.81, 30.83, -49.95)
CIE-LCHlch(16.81, 58.70, 301.68°)
OKLaboklab(29.57% 0.0037 -0.1446)
OKLCHoklch(29.57% 0.145 271.4)
XYZxyz(3.8854, 2.2621, 16.4482)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181C73 #736F18
analogous
#184973 #181C73 #421873
triadic
#181C73 #73181C #1C7318
tetradic
#181C73 #731849 #736F18 #187342
square
#181C73 #731849 #736F18 #187342
split-complementary
#181C73 #734218 #497318
monochromatic
#050619 #0D1040 #181C73 #2328A6 #3138D4

Accessibility & contrast

On white

14.46
#181C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#181C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181C73
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181C73#FFFFFF#000000##FFFFFF
##181C731.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E76
Deuteranopia (green-blind)
#002571
Tritanopia (blue-blind)
#003545
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #181c73;
/* rgb */ color: rgb(24, 28, 115);
/* oklch */ color: oklch(29.6% 0.145 271.4);
Tailwind
colors: {
  custom: {
    50: '#66599c',
    500: '#181c73',
    950: '#000000',
  },
}
SCSS
$custom: #181c73;
$custom-light: #66599c;
$custom-dark: #000000;
JSON
{
  "hex": "#181c73",
  "rgb": {
    "r": 24,
    "g": 28,
    "b": 115
  },
  "hsl": {
    "h": 237.363,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29572,
    "c": 0.14465,
    "h": 271.4
  },
  "luminance": 0.02263
}

Semantic roles & 50–950 ramp

primary
#181C73
secondary
#A8A43F
accent
#E13FE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #181C73

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

Preview Lab → · Contrast checker → · Palette generator →

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