#18407D#18407D

#18407D is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.0% C 0.113 H 258.9°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#18407D
RGBrgb(24, 64, 125)
HSLhsl(216, 68%, 29%)
HSVhsv(216, 81%, 49%)
CMYKcmyk(80.8%, 48.8%, 0%, 51%)
CIE-LABlab(27.68, 9.79, -38.59)
CIE-LCHlch(27.68, 39.82, 284.24°)
OKLaboklab(37.96% -0.0217 -0.1108)
OKLCHoklch(37.96% 0.113 258.9)
XYZxyz(5.9104, 5.3410, 20.1175)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18407D #7D5518
analogous
#18737D #18407D #23187D
triadic
#18407D #7D1840 #407D18
tetradic
#18407D #7D1873 #7D5518 #187D23
square
#18407D #7D1873 #7D5518 #187D23
split-complementary
#18407D #7D2318 #737D18
monochromatic
#050D1A #0E264A #18407D #225AB0 #3777D9

Accessibility & contrast

On white

10.15
#18407D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#18407D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18407D
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18407D#FFFFFF#000000##FFFFFF
##18407D1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F467F
Deuteranopia (green-blind)
#023D7C
Tritanopia (blue-blind)
#004F58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #18407d;
/* rgb */ color: rgb(24, 64, 125);
/* oklch */ color: oklch(38.0% 0.113 258.9);
Tailwind
colors: {
  custom: {
    50: '#6674a3',
    500: '#18407d',
    950: '#000000',
  },
}
SCSS
$custom: #18407d;
$custom-light: #6674a3;
$custom-dark: #000000;
JSON
{
  "hex": "#18407d",
  "rgb": {
    "r": 24,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 216.238,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37962,
    "c": 0.11293,
    "h": 258.9
  },
  "luminance": 0.05342
}

Semantic roles & 50–950 ramp

primary
#18407D
secondary
#B2843F
accent
#A63DEB
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #18407D

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

Preview Lab → · Contrast checker → · Palette generator →

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