#18183A#18183A

#18183A is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.0% C 0.064 H 280.1°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#18183A
RGBrgb(24, 24, 58)
HSLhsl(240, 41%, 16%)
HSVhsv(240, 59%, 23%)
CMYKcmyk(58.6%, 58.6%, 0%, 77.3%)
CIE-LABlab(10.21, 11.53, -22.11)
CIE-LCHlch(10.21, 24.94, 297.54°)
OKLaboklab(23.05% 0.0113 -0.063)
OKLCHoklch(23.05% 0.064 280.1)
XYZxyz(1.4668, 1.1529, 4.1474)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18183A #3A3A18
analogous
#18293A #18183A #29183A
triadic
#18183A #3A1818 #183A18
tetradic
#18183A #3A1829 #3A3A18 #183A29
square
#18183A #3A1829 #3A3A18 #183A29
split-complementary
#18183A #3A2918 #293A18
monochromatic
#090916 #090916 #18183A #2A2A65 #3C3C91

Accessibility & contrast

On white

17.06
#18183A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#18183A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18183A
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18183A#FFFFFF#000000##FFFFFF
##18183A1.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081D3B
Deuteranopia (green-blind)
#051B39
Tritanopia (blue-blind)
#0B1F26
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #18183a;
/* rgb */ color: rgb(24, 24, 58);
/* oklch */ color: oklch(23.0% 0.064 280.1);
Tailwind
colors: {
  custom: {
    50: '#585470',
    500: '#18183a',
    950: '#000000',
  },
}
SCSS
$custom: #18183a;
$custom-light: #585470;
$custom-dark: #000000;
JSON
{
  "hex": "#18183a",
  "rgb": {
    "r": 24,
    "g": 24,
    "b": 58
  },
  "hsl": {
    "h": 240,
    "s": 41.463,
    "l": 16.078
  },
  "oklch": {
    "l": 0.23046,
    "c": 0.06402,
    "h": 280.1
  },
  "luminance": 0.01153
}

Semantic roles & 50–950 ramp

primary
#18183A
secondary
#70703E
accent
#D157D1
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030207
muted
#78787A

Preview Lab

Preview with #18183A

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

Preview Lab → · Contrast checker → · Palette generator →

#18183A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva