#181AA1#181AA1

#181AA1 is a dark, highly saturated blue. Relative luminance 0.035; OKLCH L 34.8% C 0.203 H 268.7°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#181AA1
RGBrgb(24, 26, 161)
HSLhsl(239, 74%, 36%)
HSVhsv(239, 85%, 63%)
CMYKcmyk(85.1%, 83.9%, 0%, 36.9%)
CIE-LABlab(21.96, 47.70, -70.24)
CIE-LCHlch(21.96, 84.91, 304.18°)
OKLaboklab(34.8% -0.0045 -0.2034)
OKLCHoklch(34.8% 0.203 268.7)
XYZxyz(7.1769, 3.5053, 34.0096)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181AA1 #A19F18
analogous
#185FA1 #181AA1 #5B18A1
triadic
#181AA1 #A1181A #1AA118
tetradic
#181AA1 #A1185F #A19F18 #18A15B
square
#181AA1 #A1185F #A19F18 #18A15B
split-complementary
#181AA1 #A15B18 #5FA118
monochromatic
#080936 #10116C #181AA1 #2023D6 #4F51E5

Accessibility & contrast

On white

12.34
#181AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#181AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181AA1
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181AA1#FFFFFF#000000##FFFFFF
##181AA11.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA5
Deuteranopia (green-blind)
#002D9F
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #181aa1;
/* rgb */ color: rgb(24, 26, 161);
/* oklch */ color: oklch(34.8% 0.203 268.7);
Tailwind
colors: {
  custom: {
    50: '#735bbe',
    500: '#181aa1',
    950: '#000000',
  },
}
SCSS
$custom: #181aa1;
$custom-light: #735bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#181aa1",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 239.124,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.34804,
    "c": 0.20345,
    "h": 268.7
  },
  "luminance": 0.03506
}

Semantic roles & 50–950 ramp

primary
#181AA1
secondary
#C7C54E
accent
#EE37F1
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #181AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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