#181A73#181A73

#181A73 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.147 H 271.8°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#181A73
RGBrgb(24, 26, 115)
HSLhsl(239, 65%, 27%)
HSVhsv(239, 79%, 45%)
CMYKcmyk(79.1%, 77.4%, 0%, 54.9%)
CIE-LABlab(16.36, 32.09, -50.70)
CIE-LCHlch(16.36, 60.00, 302.33°)
OKLaboklab(29.25% 0.0046 -0.1467)
OKLCHoklch(29.25% 0.147 271.8)
XYZxyz(3.8396, 2.1704, 16.4329)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A73 #737118
analogous
#184873 #181A73 #431873
triadic
#181A73 #73181A #1A7318
tetradic
#181A73 #731848 #737118 #187343
square
#181A73 #731848 #737118 #187343
split-complementary
#181A73 #734318 #487318
monochromatic
#050619 #0D0F40 #181A73 #2325A6 #3135D4

Accessibility & contrast

On white

14.64
#181A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#181A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181A73
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A73#FFFFFF#000000##FFFFFF
##181A731.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D76
Deuteranopia (green-blind)
#002471
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #181a73;
/* rgb */ color: rgb(24, 26, 115);
/* oklch */ color: oklch(29.3% 0.147 271.8);
Tailwind
colors: {
  custom: {
    50: '#66589c',
    500: '#181a73',
    950: '#000000',
  },
}
SCSS
$custom: #181a73;
$custom-light: #66589c;
$custom-dark: #000000;
JSON
{
  "hex": "#181a73",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 115
  },
  "hsl": {
    "h": 238.681,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29252,
    "c": 0.14682,
    "h": 271.8
  },
  "luminance": 0.02171
}

Semantic roles & 50–950 ramp

primary
#181A73
secondary
#A8A63F
accent
#E53FE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #181A73

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

Preview Lab → · Contrast checker → · Palette generator →

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