#18489D#18489D

#18489D is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.3% C 0.148 H 260.9°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#18489D
RGBrgb(24, 72, 157)
HSLhsl(218, 73%, 35%)
HSVhsv(218, 85%, 62%)
CMYKcmyk(84.7%, 54.1%, 0%, 38.4%)
CIE-LABlab(32.40, 17.40, -50.67)
CIE-LCHlch(32.40, 53.57, 288.95°)
OKLaboklab(42.31% -0.0234 -0.1462)
OKLCHoklch(42.31% 0.148 260.9)
XYZxyz(8.7776, 7.2622, 32.8309)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18489D #9D6D18
analogous
#188A9D #18489D #2A189D
triadic
#18489D #9D1848 #489D18
tetradic
#18489D #9D188A #9D6D18 #189D2A
square
#18489D #9D188A #9D6D18 #189D2A
split-complementary
#18489D #9D2A18 #8A9D18
monochromatic
#081733 #103068 #18489D #2060D2 #4C83E4

Accessibility & contrast

On white

8.56
#18489D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#18489D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18489D
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18489D#FFFFFF#000000##FFFFFF
##18489D1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0253A0
Deuteranopia (green-blind)
#00479B
Tritanopia (blue-blind)
#005D6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #18489d;
/* rgb */ color: rgb(24, 72, 157);
/* oklch */ color: oklch(42.3% 0.148 260.9);
Tailwind
colors: {
  custom: {
    50: '#6e7abb',
    500: '#18489d',
    950: '#000000',
  },
}
SCSS
$custom: #18489d;
$custom-light: #6e7abb;
$custom-dark: #000000;
JSON
{
  "hex": "#18489d",
  "rgb": {
    "r": 24,
    "g": 72,
    "b": 157
  },
  "hsl": {
    "h": 218.346,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4231,
    "c": 0.14805,
    "h": 260.9
  },
  "luminance": 0.07263
}

Semantic roles & 50–950 ramp

primary
#18489D
secondary
#C5994B
accent
#AE38F0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #18489D

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

Preview Lab → · Contrast checker → · Palette generator →

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