#18488D#18488D

#18488D is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.0% C 0.126 H 258.2°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#18488D
RGBrgb(24, 72, 141)
HSLhsl(215, 71%, 32%)
HSVhsv(215, 83%, 55%)
CMYKcmyk(83%, 48.9%, 0%, 44.7%)
CIE-LABlab(31.23, 10.87, -42.80)
CIE-LCHlch(31.23, 44.16, 284.24°)
OKLaboklab(41.05% -0.0256 -0.123)
OKLCHoklch(41.05% 0.126 258.2)
XYZxyz(7.5000, 6.7511, 26.1019)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18488D #8D5D18
analogous
#18828D #18488D #23188D
triadic
#18488D #8D1848 #488D18
tetradic
#18488D #8D1882 #8D5D18 #188D23
square
#18488D #8D1882 #8D5D18 #188D23
split-complementary
#18488D #8D2318 #828D18
monochromatic
#061324 #0F2D59 #18488D #2163C1 #4182DF

Accessibility & contrast

On white

8.93
#18488D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#18488D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18488D
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18488D#FFFFFF#000000##FFFFFF
##18488D1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214F90
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #18488d;
/* rgb */ color: rgb(24, 72, 141);
/* oklch */ color: oklch(41.0% 0.126 258.2);
Tailwind
colors: {
  custom: {
    50: '#6a7aaf',
    500: '#18488d',
    950: '#000000',
  },
}
SCSS
$custom: #18488d;
$custom-light: #6a7aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#18488d",
  "rgb": {
    "r": 24,
    "g": 72,
    "b": 141
  },
  "hsl": {
    "h": 215.385,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4105,
    "c": 0.12568,
    "h": 258.2
  },
  "luminance": 0.06752
}

Semantic roles & 50–950 ramp

primary
#18488D
secondary
#BF8C42
accent
#A43AEE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #18488D

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

Preview Lab → · Contrast checker → · Palette generator →

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