#181A9E#181A9E

#181A9E is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.4% C 0.200 H 268.9°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#181A9E
RGBrgb(24, 26, 158)
HSLhsl(239, 74%, 36%)
HSVhsv(239, 85%, 62%)
CMYKcmyk(84.8%, 83.5%, 0%, 38%)
CIE-LABlab(21.58, 46.74, -69.05)
CIE-LCHlch(21.58, 83.38, 304.10°)
OKLaboklab(34.43% -0.0039 -0.1999)
OKLCHoklch(34.43% 0.2 268.9)
XYZxyz(6.9155, 3.4008, 32.6331)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A9E #9E9C18
analogous
#185D9E #181A9E #59189E
triadic
#181A9E #9E181A #1A9E18
tetradic
#181A9E #9E185D #9E9C18 #189E59
square
#181A9E #9E185D #9E9C18 #189E59
split-complementary
#181A9E #9E5918 #5D9E18
monochromatic
#080934 #101169 #181A9E #2023D3 #4D4FE4

Accessibility & contrast

On white

12.50
#181A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#181A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181A9E
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A9E#FFFFFF#000000##FFFFFF
##181A9E1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#002D9C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #181a9e;
/* rgb */ color: rgb(24, 26, 158);
/* oklch */ color: oklch(34.4% 0.200 268.9);
Tailwind
colors: {
  custom: {
    50: '#725abc',
    500: '#181a9e',
    950: '#000000',
  },
}
SCSS
$custom: #181a9e;
$custom-light: #725abc;
$custom-dark: #000000;
JSON
{
  "hex": "#181a9e",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 158
  },
  "hsl": {
    "h": 239.104,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34431,
    "c": 0.19997,
    "h": 268.9
  },
  "luminance": 0.03402
}

Semantic roles & 50–950 ramp

primary
#181A9E
secondary
#C6C44C
accent
#EE38F0
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #181A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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