#18407A#18407A

#18407A is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.7% C 0.109 H 258.1°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#18407A
RGBrgb(24, 64, 122)
HSLhsl(216, 67%, 29%)
HSVhsv(216, 80%, 48%)
CMYKcmyk(80.3%, 47.5%, 0%, 52.2%)
CIE-LABlab(27.48, 8.55, -37.04)
CIE-LCHlch(27.48, 38.02, 283.00°)
OKLaboklab(37.74% -0.0223 -0.1063)
OKLCHoklch(37.74% 0.109 258.1)
XYZxyz(5.7216, 5.2655, 19.1234)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18407A #7A5218
analogous
#18717A #18407A #21187A
triadic
#18407A #7A1840 #407A18
tetradic
#18407A #7A1871 #7A5218 #187A21
square
#18407A #7A1871 #7A5218 #187A21
split-complementary
#18407A #7A2118 #717A18
monochromatic
#050D1A #0E2547 #18407A #225BAD #3577D7

Accessibility & contrast

On white

10.23
#18407A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#18407A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18407A
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18407A#FFFFFF#000000##FFFFFF
##18407A1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21467C
Deuteranopia (green-blind)
#0A3D79
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #18407a;
/* rgb */ color: rgb(24, 64, 122);
/* oklch */ color: oklch(37.7% 0.109 258.1);
Tailwind
colors: {
  custom: {
    50: '#6574a1',
    500: '#18407a',
    950: '#000000',
  },
}
SCSS
$custom: #18407a;
$custom-light: #6574a1;
$custom-dark: #000000;
JSON
{
  "hex": "#18407a",
  "rgb": {
    "r": 24,
    "g": 64,
    "b": 122
  },
  "hsl": {
    "h": 215.51,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37736,
    "c": 0.10857,
    "h": 258.1
  },
  "luminance": 0.05266
}

Semantic roles & 50–950 ramp

primary
#18407A
secondary
#AF813F
accent
#A43EEA
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080F
muted
#7A7B7E

Preview Lab

Preview with #18407A

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

Preview Lab → · Contrast checker → · Palette generator →

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