#181249#181249

#181249 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.2% C 0.097 H 280.5°. Best body text is #FFFFFF at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#181249
RGBrgb(24, 18, 73)
HSLhsl(247, 60%, 18%)
HSVhsv(247, 75%, 29%)
CMYKcmyk(67.1%, 75.3%, 0%, 71.4%)
CIE-LABlab(9.86, 21.70, -33.27)
CIE-LCHlch(9.86, 39.72, 303.12°)
OKLaboklab(23.22% 0.0178 -0.0958)
OKLCHoklch(23.22% 0.097 280.5)
XYZxyz(1.7952, 1.1077, 6.4212)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181249 #434912
analogous
#122849 #181249 #331249
triadic
#181249 #491812 #124918
tetradic
#181249 #491228 #434912 #124933
square
#181249 #491228 #434912 #124933
split-complementary
#181249 #493312 #284912
monochromatic
#080619 #080619 #181249 #281E7A #382AAB

Accessibility & contrast

On white

17.19
#181249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#181249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181249
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181249#FFFFFF#000000##FFFFFF
##1812491.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4B
Deuteranopia (green-blind)
#001948
Tritanopia (blue-blind)
#00202B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #181249;
/* rgb */ color: rgb(24, 18, 73);
/* oklch */ color: oklch(23.2% 0.097 280.5);
Tailwind
colors: {
  custom: {
    50: '#5c507c',
    500: '#181249',
    950: '#000000',
  },
}
SCSS
$custom: #181249;
$custom-light: #5c507c;
$custom-dark: #000000;
JSON
{
  "hex": "#181249",
  "rgb": {
    "r": 24,
    "g": 18,
    "b": 73
  },
  "hsl": {
    "h": 246.545,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.23215,
    "c": 0.09749,
    "h": 280.5
  },
  "luminance": 0.01108
}

Semantic roles & 50–950 ramp

primary
#181249
secondary
#7A8235
accent
#E444D2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #181249

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

Preview Lab → · Contrast checker → · Palette generator →

#181249 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva