#18488C#18488C

#18488C is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.0% C 0.124 H 258.0°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#18488C
RGBrgb(24, 72, 140)
HSLhsl(215, 71%, 32%)
HSVhsv(215, 83%, 55%)
CMYKcmyk(82.9%, 48.6%, 0%, 45.1%)
CIE-LABlab(31.16, 10.46, -42.30)
CIE-LCHlch(31.16, 43.58, 283.88°)
OKLaboklab(40.98% -0.0258 -0.1216)
OKLCHoklch(40.98% 0.124 258)
XYZxyz(7.4259, 6.7215, 25.7119)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18488C #8C5C18
analogous
#18828C #18488C #22188C
triadic
#18488C #8C1848 #488C18
tetradic
#18488C #8C1882 #8C5C18 #188C22
square
#18488C #8C1882 #8C5C18 #188C22
split-complementary
#18488C #8C2218 #828C18
monochromatic
#061224 #0F2D58 #18488C #2163C0 #4082DE

Accessibility & contrast

On white

8.96
#18488C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#18488C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18488C
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18488C#FFFFFF#000000##FFFFFF
##18488C1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224F8F
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #18488c;
/* rgb */ color: rgb(24, 72, 140);
/* oklch */ color: oklch(41.0% 0.124 258.0);
Tailwind
colors: {
  custom: {
    50: '#697aae',
    500: '#18488c',
    950: '#000000',
  },
}
SCSS
$custom: #18488c;
$custom-light: #697aae;
$custom-dark: #000000;
JSON
{
  "hex": "#18488c",
  "rgb": {
    "r": 24,
    "g": 72,
    "b": 140
  },
  "hsl": {
    "h": 215.172,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40975,
    "c": 0.12428,
    "h": 258
  },
  "luminance": 0.06722
}

Semantic roles & 50–950 ramp

primary
#18488C
secondary
#BF8B41
accent
#A33AED
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #18488C

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

Preview Lab → · Contrast checker → · Palette generator →

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