#181A5D#181A5D

#181A5D is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.8% C 0.116 H 274.0°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#181A5D
RGBrgb(24, 26, 93)
HSLhsl(238, 59%, 23%)
HSVhsv(238, 74%, 36%)
CMYKcmyk(74.2%, 72%, 0%, 63.5%)
CIE-LABlab(13.96, 23.82, -40.18)
CIE-LCHlch(13.96, 46.71, 300.66°)
OKLaboklab(26.81% 0.0081 -0.1161)
OKLCHoklch(26.81% 0.116 274)
XYZxyz(2.7212, 1.7230, 10.5430)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A5D #5D5B18
analogous
#183C5D #181A5D #38185D
triadic
#181A5D #5D181A #1A5D18
tetradic
#181A5D #5D183C #5D5B18 #185D38
square
#181A5D #5D183C #5D5B18 #185D38
split-complementary
#181A5D #5D3818 #3C5D18
monochromatic
#060718 #0B0C2C #181A5D #25288E #3135BE

Accessibility & contrast

On white

15.62
#181A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#181A5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181A5D
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A5D#FFFFFF#000000##FFFFFF
##181A5D1.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275F
Deuteranopia (green-blind)
#00205C
Tritanopia (blue-blind)
#002C39
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #181a5d;
/* rgb */ color: rgb(24, 26, 93);
/* oklch */ color: oklch(26.8% 0.116 274.0);
Tailwind
colors: {
  custom: {
    50: '#60568c',
    500: '#181a5d',
    950: '#000000',
  },
}
SCSS
$custom: #181a5d;
$custom-light: #60568c;
$custom-dark: #000000;
JSON
{
  "hex": "#181a5d",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 93
  },
  "hsl": {
    "h": 238.261,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26812,
    "c": 0.11636,
    "h": 274
  },
  "luminance": 0.01723
}

Semantic roles & 50–950 ramp

primary
#181A5D
secondary
#93913D
accent
#DE46E2
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #181A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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