#18418E#18418E

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

Color values

HEX#18418E
RGBrgb(24, 65, 142)
HSLhsl(219, 71%, 33%)
HSVhsv(219, 83%, 56%)
CMYKcmyk(83.1%, 54.2%, 0%, 44.3%)
CIE-LABlab(29.23, 16.10, -46.66)
CIE-LCHlch(29.23, 49.36, 289.04°)
OKLaboklab(39.54% -0.0201 -0.1345)
OKLCHoklch(39.54% 0.136 261.5)
XYZxyz(7.1477, 5.9269, 26.3532)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18418E #8E6518
analogous
#187C8E #18418E #2A188E
triadic
#18418E #8E1841 #418E18
tetradic
#18418E #8E187C #8E6518 #188E2A
square
#18418E #8E187C #8E6518 #188E2A
split-complementary
#18418E #8E2A18 #7C8E18
monochromatic
#061125 #0F295A #18418E #2159C2 #4178DF

Accessibility & contrast

On white

9.61
#18418E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#18418E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18418E
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18418E#FFFFFF#000000##FFFFFF
##18418E1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054B91
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #18418e;
/* rgb */ color: rgb(24, 65, 142);
/* oklch */ color: oklch(39.5% 0.136 261.5);
Tailwind
colors: {
  custom: {
    50: '#6a75b0',
    500: '#18418e',
    950: '#000000',
  },
}
SCSS
$custom: #18418e;
$custom-light: #6a75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#18418e",
  "rgb": {
    "r": 24,
    "g": 65,
    "b": 142
  },
  "hsl": {
    "h": 219.153,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39538,
    "c": 0.13603,
    "h": 261.5
  },
  "luminance": 0.05928
}

Semantic roles & 50–950 ramp

primary
#18418E
secondary
#C09442
accent
#AF3AEE
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #18418E

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

Preview Lab → · Contrast checker → · Palette generator →

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