#18478F#18478F

#18478F is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.0% C 0.130 H 259.1°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#18478F
RGBrgb(24, 71, 143)
HSLhsl(216, 71%, 33%)
HSVhsv(216, 83%, 56%)
CMYKcmyk(83.2%, 50.3%, 0%, 43.9%)
CIE-LABlab(31.07, 12.37, -44.29)
CIE-LCHlch(31.07, 45.98, 285.61°)
OKLaboklab(40.97% -0.0245 -0.1274)
OKLCHoklch(40.97% 0.13 259.1)
XYZxyz(7.5860, 6.6829, 26.8714)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18478F #8F6018
analogous
#18828F #18478F #25188F
triadic
#18478F #8F1847 #478F18
tetradic
#18478F #8F1882 #8F6018 #188F25
square
#18478F #8F1882 #8F6018 #188F25
split-complementary
#18478F #8F2518 #828F18
monochromatic
#061326 #0F2D5B #18478F #2161C3 #4280DF

Accessibility & contrast

On white

8.99
#18478F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#18478F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18478F
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18478F#FFFFFF#000000##FFFFFF
##18478F1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4F92
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #18478f;
/* rgb */ color: rgb(24, 71, 143);
/* oklch */ color: oklch(41.0% 0.130 259.1);
Tailwind
colors: {
  custom: {
    50: '#6a79b0',
    500: '#18478f',
    950: '#000000',
  },
}
SCSS
$custom: #18478f;
$custom-light: #6a79b0;
$custom-dark: #000000;
JSON
{
  "hex": "#18478f",
  "rgb": {
    "r": 24,
    "g": 71,
    "b": 143
  },
  "hsl": {
    "h": 216.303,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40972,
    "c": 0.12977,
    "h": 259.1
  },
  "luminance": 0.06684
}

Semantic roles & 50–950 ramp

primary
#18478F
secondary
#C08F43
accent
#A73AEE
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #18478F

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

Preview Lab → · Contrast checker → · Palette generator →

#18478F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva