#18489F#18489F

#18489F is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.5% C 0.151 H 261.2°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#18489F
RGBrgb(24, 72, 159)
HSLhsl(219, 74%, 36%)
HSVhsv(219, 85%, 62%)
CMYKcmyk(84.9%, 54.7%, 0%, 37.6%)
CIE-LABlab(32.55, 18.21, -51.63)
CIE-LCHlch(32.55, 54.75, 289.43°)
OKLaboklab(42.47% -0.0232 -0.149)
OKLCHoklch(42.47% 0.151 261.2)
XYZxyz(8.9498, 7.3310, 33.7375)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18489F #9F6F18
analogous
#188B9F #18489F #2C189F
triadic
#18489F #9F1848 #489F18
tetradic
#18489F #9F188B #9F6F18 #189F2C
square
#18489F #9F188B #9F6F18 #189F2C
split-complementary
#18489F #9F2C18 #8B9F18
monochromatic
#081835 #10306A #18489F #2060D4 #4D83E4

Accessibility & contrast

On white

8.51
#18489F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#18489F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18489F
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18489F#FFFFFF#000000##FFFFFF
##18489F1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#005E6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #18489f;
/* rgb */ color: rgb(24, 72, 159);
/* oklch */ color: oklch(42.5% 0.151 261.2);
Tailwind
colors: {
  custom: {
    50: '#6e7abc',
    500: '#18489f',
    950: '#000000',
  },
}
SCSS
$custom: #18489f;
$custom-light: #6e7abc;
$custom-dark: #000000;
JSON
{
  "hex": "#18489f",
  "rgb": {
    "r": 24,
    "g": 72,
    "b": 159
  },
  "hsl": {
    "h": 218.667,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42474,
    "c": 0.1508,
    "h": 261.2
  },
  "luminance": 0.07332
}

Semantic roles & 50–950 ramp

primary
#18489F
secondary
#C69B4D
accent
#AF37F0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #18489F

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

Preview Lab → · Contrast checker → · Palette generator →

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