#18418D#18418D

#18418D is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.5% C 0.135 H 261.4°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#18418D
RGBrgb(24, 65, 141)
HSLhsl(219, 71%, 32%)
HSVhsv(219, 83%, 55%)
CMYKcmyk(83%, 53.9%, 0%, 44.7%)
CIE-LABlab(29.15, 15.69, -46.17)
CIE-LCHlch(29.15, 48.76, 288.77°)
OKLaboklab(39.46% -0.0202 -0.1331)
OKLCHoklch(39.46% 0.135 261.4)
XYZxyz(7.0730, 5.8970, 25.9596)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18418D #8D6418
analogous
#187C8D #18418D #29188D
triadic
#18418D #8D1841 #418D18
tetradic
#18418D #8D187C #8D6418 #188D29
square
#18418D #8D187C #8D6418 #188D29
split-complementary
#18418D #8D2918 #7C8D18
monochromatic
#061124 #0F2959 #18418D #2159C1 #4178DF

Accessibility & contrast

On white

9.63
#18418D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#18418D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18418D
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18418D#FFFFFF#000000##FFFFFF
##18418D1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084A90
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #18418d;
/* rgb */ color: rgb(24, 65, 141);
/* oklch */ color: oklch(39.5% 0.135 261.4);
Tailwind
colors: {
  custom: {
    50: '#6a75af',
    500: '#18418d',
    950: '#000000',
  },
}
SCSS
$custom: #18418d;
$custom-light: #6a75af;
$custom-dark: #000000;
JSON
{
  "hex": "#18418d",
  "rgb": {
    "r": 24,
    "g": 65,
    "b": 141
  },
  "hsl": {
    "h": 218.974,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39456,
    "c": 0.13461,
    "h": 261.4
  },
  "luminance": 0.05898
}

Semantic roles & 50–950 ramp

primary
#18418D
secondary
#BF9342
accent
#AF3AEE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #18418D

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

Preview Lab → · Contrast checker → · Palette generator →

#18418D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva