#18479B#18479B

#18479B is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.9% C 0.147 H 261.0°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#18479B
RGBrgb(24, 71, 155)
HSLhsl(218, 73%, 35%)
HSVhsv(218, 85%, 61%)
CMYKcmyk(84.5%, 54.2%, 0%, 39.2%)
CIE-LABlab(31.96, 17.27, -50.17)
CIE-LCHlch(31.96, 53.06, 288.99°)
OKLaboklab(41.93% -0.0229 -0.1447)
OKLCHoklch(41.93% 0.147 261)
XYZxyz(8.5442, 7.0662, 31.9176)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18479B #9B6C18
analogous
#18899B #18479B #2A189B
triadic
#18479B #9B1847 #479B18
tetradic
#18479B #9B1889 #9B6C18 #189B2A
square
#18479B #9B1889 #9B6C18 #189B2A
split-complementary
#18479B #9B2A18 #899B18
monochromatic
#081631 #102F66 #18479B #205FD0 #4A81E3

Accessibility & contrast

On white

8.70
#18479B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#18479B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18479B
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18479B#FFFFFF#000000##FFFFFF
##18479B1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02519E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #18479b;
/* rgb */ color: rgb(24, 71, 155);
/* oklch */ color: oklch(41.9% 0.147 261.0);
Tailwind
colors: {
  custom: {
    50: '#6d79b9',
    500: '#18479b',
    950: '#000000',
  },
}
SCSS
$custom: #18479b;
$custom-light: #6d79b9;
$custom-dark: #000000;
JSON
{
  "hex": "#18479b",
  "rgb": {
    "r": 24,
    "g": 71,
    "b": 155
  },
  "hsl": {
    "h": 218.473,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41928,
    "c": 0.14655,
    "h": 261
  },
  "luminance": 0.07067
}

Semantic roles & 50–950 ramp

primary
#18479B
secondary
#C5994A
accent
#AE38F0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #18479B

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

Preview Lab → · Contrast checker → · Palette generator →

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