#181745#181745

#181745 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.8% C 0.084 H 278.9°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#181745
RGBrgb(24, 23, 69)
HSLhsl(241, 50%, 18%)
HSVhsv(241, 67%, 27%)
CMYKcmyk(65.2%, 66.7%, 0%, 72.9%)
CIE-LABlab(10.82, 16.58, -28.90)
CIE-LCHlch(10.82, 33.32, 299.85°)
OKLaboklab(23.8% 0.0129 -0.083)
OKLCHoklch(23.8% 0.084 278.9)
XYZxyz(1.7569, 1.2365, 5.7752)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181745 #444517
analogous
#172D45 #181745 #2F1745
triadic
#181745 #451817 #174518
tetradic
#181745 #45172D #444517 #17452F
square
#181745 #45172D #444517 #17452F
split-complementary
#181745 #452F17 #2D4517
monochromatic
#080817 #080817 #181745 #282673 #3836A1

Accessibility & contrast

On white

16.84
#181745 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181745
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181745#FFFFFF#000000##FFFFFF
##1817451.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F47
Deuteranopia (green-blind)
#001B44
Tritanopia (blue-blind)
#01222B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #181745;
/* rgb */ color: rgb(24, 23, 69);
/* oklch */ color: oklch(23.8% 0.084 278.9);
Tailwind
colors: {
  custom: {
    50: '#5a5479',
    500: '#181745',
    950: '#000000',
  },
}
SCSS
$custom: #181745;
$custom-light: #5a5479;
$custom-dark: #000000;
JSON
{
  "hex": "#181745",
  "rgb": {
    "r": 24,
    "g": 23,
    "b": 69
  },
  "hsl": {
    "h": 241.304,
    "s": 50,
    "l": 18.039
  },
  "oklch": {
    "l": 0.23799,
    "c": 0.08399,
    "h": 278.9
  },
  "luminance": 0.01237
}

Semantic roles & 50–950 ramp

primary
#181745
secondary
#7B7C3C
accent
#DA4ED6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040209
muted
#79787B

Preview Lab

Preview with #181745

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

Preview Lab → · Contrast checker → · Palette generator →

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