#181A95#181A95

#181A95 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.3% C 0.189 H 269.4°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#181A95
RGBrgb(24, 26, 149)
HSLhsl(239, 72%, 34%)
HSVhsv(239, 84%, 58%)
CMYKcmyk(83.9%, 82.6%, 0%, 41.6%)
CIE-LABlab(20.45, 43.83, -65.39)
CIE-LCHlch(20.45, 78.72, 303.83°)
OKLaboklab(33.32% -0.0021 -0.1894)
OKLCHoklch(33.32% 0.189 269.4)
XYZxyz(6.1690, 3.1022, 28.7016)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A95 #959318
analogous
#185995 #181A95 #551895
triadic
#181A95 #95181A #1A9518
tetradic
#181A95 #951859 #959318 #189555
square
#181A95 #951859 #959318 #189555
split-complementary
#181A95 #955518 #599518
monochromatic
#07082C #101160 #181A95 #2023CA #4649E1

Accessibility & contrast

On white

12.96
#181A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#181A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181A95
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A95#FFFFFF#000000##FFFFFF
##181A951.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003898
Deuteranopia (green-blind)
#002B93
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #181a95;
/* rgb */ color: rgb(24, 26, 149);
/* oklch */ color: oklch(33.3% 0.189 269.4);
Tailwind
colors: {
  custom: {
    50: '#705ab6',
    500: '#181a95',
    950: '#000000',
  },
}
SCSS
$custom: #181a95;
$custom-light: #705ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#181a95",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 149
  },
  "hsl": {
    "h": 239.04,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33319,
    "c": 0.18938,
    "h": 269.4
  },
  "luminance": 0.03103
}

Semantic roles & 50–950 ramp

primary
#181A95
secondary
#C2C046
accent
#EC39EF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #181A95

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

Preview Lab → · Contrast checker → · Palette generator →

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