#18479F#18479F

#18479F is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.3% C 0.152 H 261.5°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#18479F
RGBrgb(24, 71, 159)
HSLhsl(219, 74%, 36%)
HSVhsv(219, 85%, 62%)
CMYKcmyk(84.9%, 55.3%, 0%, 37.6%)
CIE-LABlab(32.26, 18.89, -52.09)
CIE-LCHlch(32.26, 55.41, 289.93°)
OKLaboklab(42.26% -0.0225 -0.1504)
OKLCHoklch(42.26% 0.152 261.5)
XYZxyz(8.8857, 7.2028, 33.7161)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18479F #9F7018
analogous
#188A9F #18479F #2C189F
triadic
#18479F #9F1847 #479F18
tetradic
#18479F #9F188A #9F7018 #189F2C
square
#18479F #9F188A #9F7018 #189F2C
split-complementary
#18479F #9F2C18 #8A9F18
monochromatic
#081835 #102F6A #18479F #205FD4 #4D82E4

Accessibility & contrast

On white

8.60
#18479F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#18479F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18479F
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18479F#FFFFFF#000000##FFFFFF
##18479F1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #18479f;
/* rgb */ color: rgb(24, 71, 159);
/* oklch */ color: oklch(42.3% 0.152 261.5);
Tailwind
colors: {
  custom: {
    50: '#6e79bc',
    500: '#18479f',
    950: '#000000',
  },
}
SCSS
$custom: #18479f;
$custom-light: #6e79bc;
$custom-dark: #000000;
JSON
{
  "hex": "#18479f",
  "rgb": {
    "r": 24,
    "g": 71,
    "b": 159
  },
  "hsl": {
    "h": 219.111,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42258,
    "c": 0.15206,
    "h": 261.5
  },
  "luminance": 0.07204
}

Semantic roles & 50–950 ramp

primary
#18479F
secondary
#C69C4D
accent
#B037F0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #18479F

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

Preview Lab → · Contrast checker → · Palette generator →

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