#181E53#181E53

#181E53 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.6% C 0.096 H 273.1°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#181E53
RGBrgb(24, 30, 83)
HSLhsl(234, 55%, 21%)
HSVhsv(234, 71%, 33%)
CMYKcmyk(71.1%, 63.9%, 0%, 67.5%)
CIE-LABlab(14.10, 16.98, -33.22)
CIE-LCHlch(14.10, 37.31, 297.08°)
OKLaboklab(26.62% 0.0052 -0.0956)
OKLCHoklch(26.62% 0.096 273.1)
XYZxyz(2.4018, 1.7471, 8.3926)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181E53 #534D18
analogous
#183B53 #181E53 #2F1853
triadic
#181E53 #53181E #1E5318
tetradic
#181E53 #53183B #534D18 #18532F
square
#181E53 #53183B #534D18 #18532F
split-complementary
#181E53 #532F18 #3B5318
monochromatic
#070918 #0A0D24 #181E53 #262F82 #3340B2

Accessibility & contrast

On white

15.56
#181E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#181E53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181E53
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181E53#FFFFFF#000000##FFFFFF
##181E531.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002755
Deuteranopia (green-blind)
#002152
Tritanopia (blue-blind)
#002B35
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #181e53;
/* rgb */ color: rgb(24, 30, 83);
/* oklch */ color: oklch(26.6% 0.096 273.1);
Tailwind
colors: {
  custom: {
    50: '#5d5984',
    500: '#181e53',
    950: '#000000',
  },
}
SCSS
$custom: #181e53;
$custom-light: #5d5984;
$custom-dark: #000000;
JSON
{
  "hex": "#181e53",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 83
  },
  "hsl": {
    "h": 233.898,
    "s": 55.14,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26617,
    "c": 0.09577,
    "h": 273.1
  },
  "luminance": 0.01747
}

Semantic roles & 50–950 ramp

primary
#181E53
secondary
#8A823D
accent
#CF49DE
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #181E53

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

Preview Lab → · Contrast checker → · Palette generator →

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