#181749#181749

#181749 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.2% C 0.090 H 278.1°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#181749
RGBrgb(24, 23, 73)
HSLhsl(241, 52%, 19%)
HSVhsv(241, 68%, 29%)
CMYKcmyk(67.1%, 68.5%, 0%, 71.4%)
CIE-LABlab(11.19, 18.15, -31.09)
CIE-LCHlch(11.19, 36.00, 300.27°)
OKLaboklab(24.18% 0.0127 -0.0894)
OKLCHoklch(24.18% 0.09 278.1)
XYZxyz(1.8853, 1.2879, 6.4513)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181749 #484917
analogous
#172F49 #181749 #311749
triadic
#181749 #491817 #174918
tetradic
#181749 #49172F #484917 #174931
square
#181749 #49172F #484917 #174931
split-complementary
#181749 #493117 #2F4917
monochromatic
#080717 #09081A #181749 #272678 #3734A6

Accessibility & contrast

On white

16.70
#181749 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#181749 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181749
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181749#FFFFFF#000000##FFFFFF
##1817491.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204B
Deuteranopia (green-blind)
#001C48
Tritanopia (blue-blind)
#00232D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #181749;
/* rgb */ color: rgb(24, 23, 73);
/* oklch */ color: oklch(24.2% 0.090 278.1);
Tailwind
colors: {
  custom: {
    50: '#5b547c',
    500: '#181749',
    950: '#000000',
  },
}
SCSS
$custom: #181749;
$custom-light: #5b547c;
$custom-dark: #000000;
JSON
{
  "hex": "#181749",
  "rgb": {
    "r": 24,
    "g": 23,
    "b": 73
  },
  "hsl": {
    "h": 241.2,
    "s": 52.083,
    "l": 18.824
  },
  "oklch": {
    "l": 0.24184,
    "c": 0.09033,
    "h": 278.1
  },
  "luminance": 0.01288
}

Semantic roles & 50–950 ramp

primary
#181749
secondary
#7F803C
accent
#DC4CD9
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #181749

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

Preview Lab → · Contrast checker → · Palette generator →

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