#18407B#18407B

#18407B is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.8% C 0.110 H 258.4°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#18407B
RGBrgb(24, 64, 123)
HSLhsl(216, 67%, 29%)
HSVhsv(216, 80%, 48%)
CMYKcmyk(80.5%, 48%, 0%, 51.8%)
CIE-LABlab(27.55, 8.97, -37.56)
CIE-LCHlch(27.55, 38.62, 283.43°)
OKLaboklab(37.81% -0.0221 -0.1078)
OKLCHoklch(37.81% 0.11 258.4)
XYZxyz(5.7839, 5.2904, 19.4514)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18407B #7B5318
analogous
#18727B #18407B #22187B
triadic
#18407B #7B1840 #407B18
tetradic
#18407B #7B1872 #7B5318 #187B22
square
#18407B #7B1872 #7B5318 #187B22
split-complementary
#18407B #7B2218 #727B18
monochromatic
#050D1A #0E2548 #18407B #225BAE #3677D8

Accessibility & contrast

On white

10.20
#18407B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18407B
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18407B#FFFFFF#000000##FFFFFF
##18407B1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20467D
Deuteranopia (green-blind)
#083D7A
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #18407b;
/* rgb */ color: rgb(24, 64, 123);
/* oklch */ color: oklch(37.8% 0.110 258.4);
Tailwind
colors: {
  custom: {
    50: '#6574a2',
    500: '#18407b',
    950: '#000000',
  },
}
SCSS
$custom: #18407b;
$custom-light: #6574a2;
$custom-dark: #000000;
JSON
{
  "hex": "#18407b",
  "rgb": {
    "r": 24,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 215.758,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37811,
    "c": 0.11002,
    "h": 258.4
  },
  "luminance": 0.05291
}

Semantic roles & 50–950 ramp

primary
#18407B
secondary
#B0823F
accent
#A43EEA
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#06080F
muted
#7A7B7F

Preview Lab

Preview with #18407B

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

Preview Lab → · Contrast checker → · Palette generator →

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