#18499D#18499D

#18499D is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.5% C 0.147 H 260.6°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#18499D
RGBrgb(24, 73, 157)
HSLhsl(218, 73%, 35%)
HSVhsv(218, 85%, 62%)
CMYKcmyk(84.7%, 53.5%, 0%, 38.4%)
CIE-LABlab(32.68, 16.72, -50.20)
CIE-LCHlch(32.68, 52.91, 288.42°)
OKLaboklab(42.53% -0.0241 -0.1448)
OKLCHoklch(42.53% 0.147 260.6)
XYZxyz(8.8428, 7.3925, 32.8526)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18499D #9D6C18
analogous
#188B9D #18499D #2A189D
triadic
#18499D #9D1849 #499D18
tetradic
#18499D #9D188B #9D6C18 #189D2A
square
#18499D #9D188B #9D6C18 #189D2A
split-complementary
#18499D #9D2A18 #8B9D18
monochromatic
#081833 #103068 #18499D #2062D2 #4C84E4

Accessibility & contrast

On white

8.47
#18499D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#18499D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18499D
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18499D#FFFFFF#000000##FFFFFF
##18499D1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0853A0
Deuteranopia (green-blind)
#00479B
Tritanopia (blue-blind)
#005E6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #18499d;
/* rgb */ color: rgb(24, 73, 157);
/* oklch */ color: oklch(42.5% 0.147 260.6);
Tailwind
colors: {
  custom: {
    50: '#6e7bbb',
    500: '#18499d',
    950: '#000000',
  },
}
SCSS
$custom: #18499d;
$custom-light: #6e7bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#18499d",
  "rgb": {
    "r": 24,
    "g": 73,
    "b": 157
  },
  "hsl": {
    "h": 217.895,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42529,
    "c": 0.14679,
    "h": 260.6
  },
  "luminance": 0.07394
}

Semantic roles & 50–950 ramp

primary
#18499D
secondary
#C5984B
accent
#AC38F0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #18499D

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

Preview Lab → · Contrast checker → · Palette generator →

#18499D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva