#18407E#18407E

#18407E is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.0% C 0.114 H 259.1°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#18407E
RGBrgb(24, 64, 126)
HSLhsl(216, 68%, 29%)
HSVhsv(216, 81%, 49%)
CMYKcmyk(81%, 49.2%, 0%, 50.6%)
CIE-LABlab(27.75, 10.21, -39.11)
CIE-LCHlch(27.75, 40.42, 284.63°)
OKLaboklab(38.04% -0.0216 -0.1123)
OKLCHoklch(38.04% 0.114 259.1)
XYZxyz(5.9746, 5.3666, 20.4556)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18407E #7E5618
analogous
#18737E #18407E #23187E
triadic
#18407E #7E1840 #407E18
tetradic
#18407E #7E1873 #7E5618 #187E23
square
#18407E #7E1873 #7E5618 #187E23
split-complementary
#18407E #7E2318 #737E18
monochromatic
#050D1A #0E264B #18407E #225AB1 #3777D9

Accessibility & contrast

On white

10.13
#18407E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18407E
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18407E#FFFFFF#000000##FFFFFF
##18407E1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4680
Deuteranopia (green-blind)
#003D7D
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #18407e;
/* rgb */ color: rgb(24, 64, 126);
/* oklch */ color: oklch(38.0% 0.114 259.1);
Tailwind
colors: {
  custom: {
    50: '#6674a4',
    500: '#18407e',
    950: '#000000',
  },
}
SCSS
$custom: #18407e;
$custom-light: #6674a4;
$custom-dark: #000000;
JSON
{
  "hex": "#18407e",
  "rgb": {
    "r": 24,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 216.471,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38038,
    "c": 0.11438,
    "h": 259.1
  },
  "luminance": 0.05367
}

Semantic roles & 50–950 ramp

primary
#18407E
secondary
#B2853F
accent
#A73DEB
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #18407E

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

Preview Lab → · Contrast checker → · Palette generator →

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