#181E44#181E44

#181E44 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.3% C 0.071 H 273.5°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#181E44
RGBrgb(24, 30, 68)
HSLhsl(232, 48%, 18%)
HSVhsv(232, 65%, 27%)
CMYKcmyk(64.7%, 55.9%, 0%, 73.3%)
CIE-LABlab(12.86, 10.92, -24.91)
CIE-LCHlch(12.86, 27.20, 293.67°)
OKLaboklab(25.29% 0.0043 -0.0712)
OKLCHoklch(25.29% 0.071 273.5)
XYZxyz(1.8840, 1.5400, 5.6657)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181E44 #443E18
analogous
#183444 #181E44 #281844
triadic
#181E44 #44181E #1E4418
tetradic
#181E44 #441834 #443E18 #184428
square
#181E44 #441834 #443E18 #184428
split-complementary
#181E44 #442818 #344418
monochromatic
#080A17 #080A17 #181E44 #283271 #38469E

Accessibility & contrast

On white

16.06
#181E44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#181E44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181E44
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181E44#FFFFFF#000000##FFFFFF
##181E441.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2345
Deuteranopia (green-blind)
#041F43
Tritanopia (blue-blind)
#00272D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #181e44;
/* rgb */ color: rgb(24, 30, 68);
/* oklch */ color: oklch(25.3% 0.071 273.5);
Tailwind
colors: {
  custom: {
    50: '#5a5978',
    500: '#181e44',
    950: '#000000',
  },
}
SCSS
$custom: #181e44;
$custom-light: #5a5978;
$custom-dark: #000000;
JSON
{
  "hex": "#181e44",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 68
  },
  "hsl": {
    "h": 231.818,
    "s": 47.826,
    "l": 18.039
  },
  "oklch": {
    "l": 0.25294,
    "c": 0.07131,
    "h": 273.5
  },
  "luminance": 0.0154
}

Semantic roles & 50–950 ramp

primary
#181E44
secondary
#7B723D
accent
#C550D7
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #181E44

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

Preview Lab → · Contrast checker → · Palette generator →

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