#18509F#18509F

#18509F is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.2% C 0.141 H 258.2°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#18509F
RGBrgb(24, 80, 159)
HSLhsl(215, 74%, 36%)
HSVhsv(215, 85%, 62%)
CMYKcmyk(84.9%, 49.7%, 0%, 37.6%)
CIE-LABlab(34.87, 12.78, -47.87)
CIE-LCHlch(34.87, 49.55, 284.95°)
OKLaboklab(44.25% -0.0289 -0.1378)
OKLCHoklch(44.25% 0.141 258.2)
XYZxyz(9.5011, 8.4335, 33.9212)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18509F #9F6718
analogous
#18939F #18509F #23189F
triadic
#18509F #9F1850 #509F18
tetradic
#18509F #9F1893 #9F6718 #189F23
square
#18509F #9F1893 #9F6718 #189F23
split-complementary
#18509F #9F2318 #939F18
monochromatic
#081A35 #10356A #18509F #206BD4 #4D8CE4

Accessibility & contrast

On white

7.82
#18509F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#18509F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18509F
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18509F#FFFFFF#000000##FFFFFF
##18509F1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2058A2
Deuteranopia (green-blind)
#004C9D
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #18509f;
/* rgb */ color: rgb(24, 80, 159);
/* oklch */ color: oklch(44.2% 0.141 258.2);
Tailwind
colors: {
  custom: {
    50: '#6e80bc',
    500: '#18509f',
    950: '#000000',
  },
}
SCSS
$custom: #18509f;
$custom-light: #6e80bc;
$custom-dark: #000000;
JSON
{
  "hex": "#18509f",
  "rgb": {
    "r": 24,
    "g": 80,
    "b": 159
  },
  "hsl": {
    "h": 215.111,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44248,
    "c": 0.14078,
    "h": 258.2
  },
  "luminance": 0.08435
}

Semantic roles & 50–950 ramp

primary
#18509F
secondary
#C6944D
accent
#A437F0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A12
muted
#7B7C81

Preview Lab

Preview with #18509F

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

Preview Lab → · Contrast checker → · Palette generator →

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