#181B43#181B43

#181B43 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.5% C 0.074 H 276.2°. Best body text is #FFFFFF at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#181B43
RGBrgb(24, 27, 67)
HSLhsl(236, 47%, 18%)
HSVhsv(236, 64%, 26%)
CMYKcmyk(64.2%, 59.7%, 0%, 73.7%)
CIE-LABlab(11.85, 12.79, -25.84)
CIE-LCHlch(11.85, 28.83, 296.33°)
OKLaboklab(24.51% 0.008 -0.074)
OKLCHoklch(24.51% 0.074 276.2)
XYZxyz(1.7814, 1.3832, 5.4822)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181B43 #434018
analogous
#183043 #181B43 #2A1843
triadic
#181B43 #43181B #1B4318
tetradic
#181B43 #431830 #434018 #18432A
square
#181B43 #431830 #434018 #18432A
split-complementary
#181B43 #432A18 #304318
monochromatic
#080917 #080917 #181B43 #282D70 #383F9D

Accessibility & contrast

On white

16.45
#181B43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#181B43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181B43
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181B43#FFFFFF#000000##FFFFFF
##181B431.0016.451.2816.45
#FFFFFF16.451.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052144
Deuteranopia (green-blind)
#001D42
Tritanopia (blue-blind)
#02242C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #181b43;
/* rgb */ color: rgb(24, 27, 67);
/* oklch */ color: oklch(24.5% 0.074 276.2);
Tailwind
colors: {
  custom: {
    50: '#5a5777',
    500: '#181b43',
    950: '#000000',
  },
}
SCSS
$custom: #181b43;
$custom-light: #5a5777;
$custom-dark: #000000;
JSON
{
  "hex": "#181b43",
  "rgb": {
    "r": 24,
    "g": 27,
    "b": 67
  },
  "hsl": {
    "h": 235.814,
    "s": 47.253,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24505,
    "c": 0.07441,
    "h": 276.2
  },
  "luminance": 0.01383
}

Semantic roles & 50–950 ramp

primary
#181B43
secondary
#7A753D
accent
#CE51D7
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #181B43

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

Preview Lab → · Contrast checker → · Palette generator →

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