#181AA0#181AA0

#181AA0 is a dark, highly saturated blue. Relative luminance 0.035; OKLCH L 34.7% C 0.202 H 268.8°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#181AA0
RGBrgb(24, 26, 160)
HSLhsl(239, 74%, 36%)
HSVhsv(239, 85%, 63%)
CMYKcmyk(85%, 83.8%, 0%, 37.3%)
CIE-LABlab(21.84, 47.38, -69.85)
CIE-LCHlch(21.84, 84.40, 304.15°)
OKLaboklab(34.68% -0.0043 -0.2022)
OKLCHoklch(34.68% 0.202 268.8)
XYZxyz(7.0891, 3.4702, 33.5471)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181AA0 #A09E18
analogous
#185EA0 #181AA0 #5A18A0
triadic
#181AA0 #A0181A #1AA018
tetradic
#181AA0 #A0185E #A09E18 #18A05A
square
#181AA0 #A0185E #A09E18 #18A05A
split-complementary
#181AA0 #A05A18 #5EA018
monochromatic
#080936 #10116B #181AA0 #2023D5 #4E50E4

Accessibility & contrast

On white

12.40
#181AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#181AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181AA0
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181AA0#FFFFFF#000000##FFFFFF
##181AA01.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA4
Deuteranopia (green-blind)
#002D9E
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #181aa0;
/* rgb */ color: rgb(24, 26, 160);
/* oklch */ color: oklch(34.7% 0.202 268.8);
Tailwind
colors: {
  custom: {
    50: '#735bbe',
    500: '#181aa0',
    950: '#000000',
  },
}
SCSS
$custom: #181aa0;
$custom-light: #735bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#181aa0",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 160
  },
  "hsl": {
    "h": 239.118,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3468,
    "c": 0.20229,
    "h": 268.8
  },
  "luminance": 0.03471
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #181AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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