#18407C#18407C

#18407C is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.9% C 0.111 H 258.7°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#18407C
RGBrgb(24, 64, 124)
HSLhsl(216, 68%, 29%)
HSVhsv(216, 81%, 49%)
CMYKcmyk(80.6%, 48.4%, 0%, 51.4%)
CIE-LABlab(27.62, 9.38, -38.08)
CIE-LCHlch(27.62, 39.22, 283.84°)
OKLaboklab(37.89% -0.0219 -0.1093)
OKLCHoklch(37.89% 0.111 258.7)
XYZxyz(5.8468, 5.3155, 19.7827)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18407C #7C5418
analogous
#18727C #18407C #22187C
triadic
#18407C #7C1840 #407C18
tetradic
#18407C #7C1872 #7C5418 #187C22
square
#18407C #7C1872 #7C5418 #187C22
split-complementary
#18407C #7C2218 #727C18
monochromatic
#050D1A #0E2649 #18407C #225AAF #3677D8

Accessibility & contrast

On white

10.18
#18407C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#18407C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18407C
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18407C#FFFFFF#000000##FFFFFF
##18407C1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F467E
Deuteranopia (green-blind)
#053D7B
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #18407c;
/* rgb */ color: rgb(24, 64, 124);
/* oklch */ color: oklch(37.9% 0.111 258.7);
Tailwind
colors: {
  custom: {
    50: '#6674a2',
    500: '#18407c',
    950: '#000000',
  },
}
SCSS
$custom: #18407c;
$custom-light: #6674a2;
$custom-dark: #000000;
JSON
{
  "hex": "#18407c",
  "rgb": {
    "r": 24,
    "g": 64,
    "b": 124
  },
  "hsl": {
    "h": 216,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37886,
    "c": 0.11148,
    "h": 258.7
  },
  "luminance": 0.05316
}

Semantic roles & 50–950 ramp

primary
#18407C
secondary
#B1833F
accent
#A53DEA
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #18407C

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

Preview Lab → · Contrast checker → · Palette generator →

#18407C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva