#181E59#181E59

#181E59 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.2% C 0.105 H 272.8°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#181E59
RGBrgb(24, 30, 89)
HSLhsl(234, 58%, 22%)
HSVhsv(234, 73%, 35%)
CMYKcmyk(73%, 66.3%, 0%, 65.1%)
CIE-LABlab(14.65, 19.40, -36.38)
CIE-LCHlch(14.65, 41.23, 298.07°)
OKLaboklab(27.19% 0.0051 -0.1049)
OKLCHoklch(27.19% 0.105 272.8)
XYZxyz(2.6435, 1.8438, 9.6658)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181E59 #595318
analogous
#183E59 #181E59 #331859
triadic
#181E59 #59181E #1E5918
tetradic
#181E59 #59183E #595318 #185933
square
#181E59 #59183E #595318 #185933
split-complementary
#181E59 #593318 #3E5918
monochromatic
#060818 #0B0E29 #181E59 #252E89 #323EB9

Accessibility & contrast

On white

15.34
#181E59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#181E59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181E59
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181E59#FFFFFF#000000##FFFFFF
##181E591.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285B
Deuteranopia (green-blind)
#002258
Tritanopia (blue-blind)
#002D38
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #181e59;
/* rgb */ color: rgb(24, 30, 89);
/* oklch */ color: oklch(27.2% 0.105 272.8);
Tailwind
colors: {
  custom: {
    50: '#5f5988',
    500: '#181e59',
    950: '#000000',
  },
}
SCSS
$custom: #181e59;
$custom-light: #5f5988;
$custom-dark: #000000;
JSON
{
  "hex": "#181e59",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 89
  },
  "hsl": {
    "h": 234.462,
    "s": 57.522,
    "l": 22.157
  },
  "oklch": {
    "l": 0.27191,
    "c": 0.10504,
    "h": 272.8
  },
  "luminance": 0.01844
}

Semantic roles & 50–950 ramp

primary
#181E59
secondary
#90883D
accent
#D347E1
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #181E59

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

Preview Lab → · Contrast checker → · Palette generator →

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