#181A3A#181A3A

#181A3A is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.5% C 0.061 H 278.0°. Best body text is #FFFFFF at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#181A3A
RGBrgb(24, 26, 58)
HSLhsl(236, 41%, 16%)
HSVhsv(236, 59%, 23%)
CMYKcmyk(58.6%, 55.2%, 0%, 77.3%)
CIE-LABlab(10.84, 10.00, -21.10)
CIE-LCHlch(10.84, 23.35, 295.37°)
OKLaboklab(23.52% 0.0084 -0.06)
OKLCHoklch(23.52% 0.061 278)
XYZxyz(1.5096, 1.2384, 4.1617)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A3A #3A3818
analogous
#182B3A #181A3A #27183A
triadic
#181A3A #3A181A #1A3A18
tetradic
#181A3A #3A182B #3A3818 #183A27
square
#181A3A #3A182B #3A3818 #183A27
split-complementary
#181A3A #3A2718 #2B3A18
monochromatic
#090A16 #090A16 #181A3A #2A2D65 #3C4191

Accessibility & contrast

On white

16.83
#181A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#181A3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181A3A
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A3A#FFFFFF#000000##FFFFFF
##181A3A1.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1F3B
Deuteranopia (green-blind)
#091C39
Tritanopia (blue-blind)
#0A2127
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #181a3a;
/* rgb */ color: rgb(24, 26, 58);
/* oklch */ color: oklch(23.5% 0.061 278.0);
Tailwind
colors: {
  custom: {
    50: '#585670',
    500: '#181a3a',
    950: '#000000',
  },
}
SCSS
$custom: #181a3a;
$custom-light: #585670;
$custom-dark: #000000;
JSON
{
  "hex": "#181a3a",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 58
  },
  "hsl": {
    "h": 236.471,
    "s": 41.463,
    "l": 16.078
  },
  "oklch": {
    "l": 0.23523,
    "c": 0.06061,
    "h": 278
  },
  "luminance": 0.01238
}

Semantic roles & 50–950 ramp

primary
#181A3A
secondary
#706D3E
accent
#CA57D1
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #181A3A

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

Preview Lab → · Contrast checker → · Palette generator →

#181A3A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva