#181A84#181A84

#181A84 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.169 H 270.5°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#181A84
RGBrgb(24, 26, 132)
HSLhsl(239, 69%, 31%)
HSVhsv(239, 82%, 52%)
CMYKcmyk(81.8%, 80.3%, 0%, 48.2%)
CIE-LABlab(18.36, 38.12, -58.24)
CIE-LCHlch(18.36, 69.61, 303.20°)
OKLaboklab(31.25% 0.0013 -0.1687)
OKLCHoklch(31.25% 0.169 270.5)
XYZxyz(4.9095, 2.5984, 22.0681)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A84 #848218
analogous
#185084 #181A84 #4C1884
triadic
#181A84 #84181A #1A8418
tetradic
#181A84 #841850 #848218 #18844C
square
#181A84 #841850 #848218 #18844C
split-complementary
#181A84 #844C18 #508418
monochromatic
#05061C #0F1050 #181A84 #2124B8 #3B3EDB

Accessibility & contrast

On white

13.82
#181A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#181A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181A84
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A84#FFFFFF#000000##FFFFFF
##181A841.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003287
Deuteranopia (green-blind)
#002782
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #181a84;
/* rgb */ color: rgb(24, 26, 132);
/* oklch */ color: oklch(31.3% 0.169 270.5);
Tailwind
colors: {
  custom: {
    50: '#6b59a9',
    500: '#181a84',
    950: '#000000',
  },
}
SCSS
$custom: #181a84;
$custom-light: #6b59a9;
$custom-dark: #000000;
JSON
{
  "hex": "#181a84",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 132
  },
  "hsl": {
    "h": 238.889,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31253,
    "c": 0.16868,
    "h": 270.5
  },
  "luminance": 0.02599
}

Semantic roles & 50–950 ramp

primary
#181A84
secondary
#B8B640
accent
#E93CEC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #181A84

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

Preview Lab → · Contrast checker → · Palette generator →

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