#181E47#181E47

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

Color values

HEX#181E47
RGBrgb(24, 30, 71)
HSLhsl(232, 49%, 19%)
HSVhsv(232, 66%, 28%)
CMYKcmyk(66.2%, 57.7%, 0%, 72.2%)
CIE-LABlab(13.09, 12.13, -26.62)
CIE-LCHlch(13.09, 29.25, 294.50°)
OKLaboklab(25.55% 0.0046 -0.0762)
OKLCHoklch(25.55% 0.076 273.5)
XYZxyz(1.9779, 1.5775, 6.1603)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181E47 #474118
analogous
#183547 #181E47 #291847
triadic
#181E47 #47181E #1E4718
tetradic
#181E47 #471835 #474118 #184729
square
#181E47 #471835 #474118 #184729
split-complementary
#181E47 #472918 #354718
monochromatic
#080A17 #090B19 #181E47 #273175 #3745A2

Accessibility & contrast

On white

15.96
#181E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181E47
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181E47#FFFFFF#000000##FFFFFF
##181E471.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072448
Deuteranopia (green-blind)
#012046
Tritanopia (blue-blind)
#00272F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #181e47;
/* rgb */ color: rgb(24, 30, 71);
/* oklch */ color: oklch(25.5% 0.076 273.5);
Tailwind
colors: {
  custom: {
    50: '#5a597a',
    500: '#181e47',
    950: '#000000',
  },
}
SCSS
$custom: #181e47;
$custom-light: #5a597a;
$custom-dark: #000000;
JSON
{
  "hex": "#181e47",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 71
  },
  "hsl": {
    "h": 232.34,
    "s": 49.474,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25545,
    "c": 0.07635,
    "h": 273.5
  },
  "luminance": 0.01578
}

Semantic roles & 50–950 ramp

primary
#181E47
secondary
#7E753D
accent
#C74FD9
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #181E47

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

Preview Lab → · Contrast checker → · Palette generator →

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