#181A55#181A55

#181A55 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.0% C 0.105 H 274.9°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#181A55
RGBrgb(24, 26, 85)
HSLhsl(238, 56%, 21%)
HSVhsv(238, 72%, 33%)
CMYKcmyk(71.8%, 69.4%, 0%, 66.7%)
CIE-LABlab(13.16, 20.69, -36.11)
CIE-LCHlch(13.16, 41.62, 299.82°)
OKLaboklab(25.98% 0.0089 -0.1041)
OKLCHoklch(25.98% 0.105 274.9)
XYZxyz(2.3852, 1.5886, 8.7735)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A55 #555318
analogous
#183955 #181A55 #351855
triadic
#181A55 #55181A #1A5518
tetradic
#181A55 #551839 #555318 #185535
square
#181A55 #551839 #555318 #185535
split-complementary
#181A55 #553518 #395518
monochromatic
#070718 #0B0B25 #181A55 #252985 #3337B4

Accessibility & contrast

On white

15.94
#181A55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181A55
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A55#FFFFFF#000000##FFFFFF
##181A551.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002557
Deuteranopia (green-blind)
#001F54
Tritanopia (blue-blind)
#002934
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #181a55;
/* rgb */ color: rgb(24, 26, 85);
/* oklch */ color: oklch(26.0% 0.105 274.9);
Tailwind
colors: {
  custom: {
    50: '#5e5685',
    500: '#181a55',
    950: '#000000',
  },
}
SCSS
$custom: #181a55;
$custom-light: #5e5685;
$custom-dark: #000000;
JSON
{
  "hex": "#181a55",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 85
  },
  "hsl": {
    "h": 238.033,
    "s": 55.963,
    "l": 21.373
  },
  "oklch": {
    "l": 0.25983,
    "c": 0.10452,
    "h": 274.9
  },
  "luminance": 0.01589
}

Semantic roles & 50–950 ramp

primary
#181A55
secondary
#8C893D
accent
#DA49DF
background
#F5F5F8
surface
#EAE9EF
border
#C6C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #181A55

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

Preview Lab → · Contrast checker → · Palette generator →

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