#181D46#181D46

#181D46 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.2% C 0.076 H 274.3°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#181D46
RGBrgb(24, 29, 70)
HSLhsl(233, 49%, 18%)
HSVhsv(233, 66%, 27%)
CMYKcmyk(65.7%, 58.6%, 0%, 72.5%)
CIE-LABlab(12.70, 12.48, -26.55)
CIE-LCHlch(12.70, 29.34, 295.18°)
OKLaboklab(25.23% 0.0058 -0.076)
OKLCHoklch(25.23% 0.076 274.3)
XYZxyz(1.9212, 1.5150, 5.9843)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181D46 #464118
analogous
#183446 #181D46 #2A1846
triadic
#181D46 #46181D #1D4618
tetradic
#181D46 #461834 #464118 #18462A
square
#181D46 #461834 #464118 #18462A
split-complementary
#181D46 #462A18 #344618
monochromatic
#080917 #080A18 #181D46 #283074 #3743A1

Accessibility & contrast

On white

16.12
#181D46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#181D46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181D46
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181D46#FFFFFF#000000##FFFFFF
##181D461.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062347
Deuteranopia (green-blind)
#001F45
Tritanopia (blue-blind)
#00262E
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #181d46;
/* rgb */ color: rgb(24, 29, 70);
/* oklch */ color: oklch(25.2% 0.076 274.3);
Tailwind
colors: {
  custom: {
    50: '#5a587a',
    500: '#181d46',
    950: '#000000',
  },
}
SCSS
$custom: #181d46;
$custom-light: #5a587a;
$custom-dark: #000000;
JSON
{
  "hex": "#181d46",
  "rgb": {
    "r": 24,
    "g": 29,
    "b": 70
  },
  "hsl": {
    "h": 233.478,
    "s": 48.936,
    "l": 18.431
  },
  "oklch": {
    "l": 0.25226,
    "c": 0.07625,
    "h": 274.3
  },
  "luminance": 0.01515
}

Semantic roles & 50–950 ramp

primary
#181D46
secondary
#7D763D
accent
#CA4FD8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #181D46

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

Preview Lab → · Contrast checker → · Palette generator →

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