#181743#181743

#181743 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.6% C 0.081 H 279.2°. Best body text is #FFFFFF at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#181743
RGBrgb(24, 23, 67)
HSLhsl(241, 49%, 18%)
HSVhsv(241, 66%, 26%)
CMYKcmyk(64.2%, 65.7%, 0%, 73.7%)
CIE-LABlab(10.65, 15.80, -27.78)
CIE-LCHlch(10.65, 31.96, 299.63°)
OKLaboklab(23.61% 0.013 -0.0797)
OKLCHoklch(23.61% 0.081 279.2)
XYZxyz(1.6959, 1.2121, 5.4537)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181743 #424317
analogous
#172C43 #181743 #2E1743
triadic
#181743 #431817 #174318
tetradic
#181743 #43172C #424317 #17432E
square
#181743 #43172C #424317 #17432E
split-complementary
#181743 #432E17 #2C4317
monochromatic
#080817 #080817 #181743 #282771 #39369E

Accessibility & contrast

On white

16.90
#181743 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#181743 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181743
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181743#FFFFFF#000000##FFFFFF
##1817431.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F44
Deuteranopia (green-blind)
#001B42
Tritanopia (blue-blind)
#03212A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #181743;
/* rgb */ color: rgb(24, 23, 67);
/* oklch */ color: oklch(23.6% 0.081 279.2);
Tailwind
colors: {
  custom: {
    50: '#5a5477',
    500: '#181743',
    950: '#000000',
  },
}
SCSS
$custom: #181743;
$custom-light: #5a5477;
$custom-dark: #000000;
JSON
{
  "hex": "#181743",
  "rgb": {
    "r": 24,
    "g": 23,
    "b": 67
  },
  "hsl": {
    "h": 241.364,
    "s": 48.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.23612,
    "c": 0.08076,
    "h": 279.2
  },
  "luminance": 0.01212
}

Semantic roles & 50–950 ramp

primary
#181743
secondary
#797A3C
accent
#D84FD5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040209
muted
#79787B

Preview Lab

Preview with #181743

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

Preview Lab → · Contrast checker → · Palette generator →

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