#181E48#181E48

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

Color values

HEX#181E48
RGBrgb(24, 30, 72)
HSLhsl(233, 50%, 19%)
HSVhsv(233, 67%, 28%)
CMYKcmyk(66.7%, 58.3%, 0%, 71.8%)
CIE-LABlab(13.17, 12.53, -27.18)
CIE-LCHlch(13.17, 29.93, 294.75°)
OKLaboklab(25.63% 0.0047 -0.0779)
OKLCHoklch(25.63% 0.078 273.5)
XYZxyz(2.0103, 1.5905, 6.3307)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181E48 #484218
analogous
#183648 #181E48 #2A1848
triadic
#181E48 #48181E #1E4818
tetradic
#181E48 #481836 #484218 #18482A
square
#181E48 #481836 #484218 #18482A
split-complementary
#181E48 #482A18 #364818
monochromatic
#080A17 #090B1A #181E48 #273176 #3744A4

Accessibility & contrast

On white

15.93
#181E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181E48
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181E48#FFFFFF#000000##FFFFFF
##181E481.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062449
Deuteranopia (green-blind)
#002047
Tritanopia (blue-blind)
#00282F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #181e48;
/* rgb */ color: rgb(24, 30, 72);
/* oklch */ color: oklch(25.6% 0.078 273.5);
Tailwind
colors: {
  custom: {
    50: '#5a597b',
    500: '#181e48',
    950: '#000000',
  },
}
SCSS
$custom: #181e48;
$custom-light: #5a597b;
$custom-dark: #000000;
JSON
{
  "hex": "#181e48",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 72
  },
  "hsl": {
    "h": 232.5,
    "s": 50,
    "l": 18.824
  },
  "oklch": {
    "l": 0.2563,
    "c": 0.07801,
    "h": 273.5
  },
  "luminance": 0.01591
}

Semantic roles & 50–950 ramp

primary
#181E48
secondary
#7F773D
accent
#C84EDA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #181E48

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

Preview Lab → · Contrast checker → · Palette generator →

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