#181746#181746

#181746 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.9% C 0.086 H 278.7°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#181746
RGBrgb(24, 23, 70)
HSLhsl(241, 51%, 18%)
HSVhsv(241, 67%, 27%)
CMYKcmyk(65.7%, 67.1%, 0%, 72.5%)
CIE-LABlab(10.91, 16.97, -29.45)
CIE-LCHlch(10.91, 33.99, 299.96°)
OKLaboklab(23.89% 0.0129 -0.0846)
OKLCHoklch(23.89% 0.086 278.7)
XYZxyz(1.7882, 1.2491, 5.9400)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181746 #454617
analogous
#172D46 #181746 #2F1746
triadic
#181746 #461817 #174618
tetradic
#181746 #46172D #454617 #17462F
square
#181746 #46172D #454617 #17462F
split-complementary
#181746 #462F17 #2D4617
monochromatic
#080817 #080818 #181746 #282674 #3835A2

Accessibility & contrast

On white

16.80
#181746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#181746 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181746
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181746#FFFFFF#000000##FFFFFF
##1817461.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F48
Deuteranopia (green-blind)
#001B45
Tritanopia (blue-blind)
#00222B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #181746;
/* rgb */ color: rgb(24, 23, 70);
/* oklch */ color: oklch(23.9% 0.086 278.7);
Tailwind
colors: {
  custom: {
    50: '#5b547a',
    500: '#181746',
    950: '#000000',
  },
}
SCSS
$custom: #181746;
$custom-light: #5b547a;
$custom-dark: #000000;
JSON
{
  "hex": "#181746",
  "rgb": {
    "r": 24,
    "g": 23,
    "b": 70
  },
  "hsl": {
    "h": 241.277,
    "s": 50.538,
    "l": 18.235
  },
  "oklch": {
    "l": 0.23894,
    "c": 0.08559,
    "h": 278.7
  },
  "luminance": 0.01249
}

Semantic roles & 50–950 ramp

primary
#181746
secondary
#7C7D3C
accent
#DA4ED7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040209
muted
#79787B

Preview Lab

Preview with #181746

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

Preview Lab → · Contrast checker → · Palette generator →

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