#181E49#181E49

#181E49 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.7% C 0.080 H 273.5°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#181E49
RGBrgb(24, 30, 73)
HSLhsl(233, 51%, 19%)
HSVhsv(233, 67%, 29%)
CMYKcmyk(67.1%, 58.9%, 0%, 71.4%)
CIE-LABlab(13.25, 12.94, -27.75)
CIE-LCHlch(13.25, 30.61, 295.00°)
OKLaboklab(25.72% 0.0048 -0.0795)
OKLCHoklch(25.72% 0.08 273.5)
XYZxyz(2.0432, 1.6036, 6.5039)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181E49 #494318
analogous
#183749 #181E49 #2B1849
triadic
#181E49 #49181E #1E4918
tetradic
#181E49 #491837 #494318 #18492B
square
#181E49 #491837 #494318 #18492B
split-complementary
#181E49 #492B18 #374918
monochromatic
#080917 #090B1B #181E49 #273177 #3644A5

Accessibility & contrast

On white

15.90
#181E49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#181E49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181E49
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181E49#FFFFFF#000000##FFFFFF
##181E491.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05244B
Deuteranopia (green-blind)
#002048
Tritanopia (blue-blind)
#002830
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #181e49;
/* rgb */ color: rgb(24, 30, 73);
/* oklch */ color: oklch(25.7% 0.080 273.5);
Tailwind
colors: {
  custom: {
    50: '#5b597c',
    500: '#181e49',
    950: '#000000',
  },
}
SCSS
$custom: #181e49;
$custom-light: #5b597c;
$custom-dark: #000000;
JSON
{
  "hex": "#181e49",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 73
  },
  "hsl": {
    "h": 232.653,
    "s": 50.515,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25716,
    "c": 0.07968,
    "h": 273.5
  },
  "luminance": 0.01604
}

Semantic roles & 50–950 ramp

primary
#181E49
secondary
#80783D
accent
#C94EDA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #181E49

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

Preview Lab → · Contrast checker → · Palette generator →

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