#18488E#18488E

#18488E is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.1% C 0.127 H 258.4°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#18488E
RGBrgb(24, 72, 142)
HSLhsl(216, 71%, 33%)
HSVhsv(216, 83%, 56%)
CMYKcmyk(83.1%, 49.3%, 0%, 44.3%)
CIE-LABlab(31.30, 11.28, -43.31)
CIE-LCHlch(31.30, 44.75, 284.59°)
OKLaboklab(41.13% -0.0255 -0.1245)
OKLCHoklch(41.13% 0.127 258.4)
XYZxyz(7.5747, 6.7810, 26.4956)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18488E #8E5E18
analogous
#18838E #18488E #23188E
triadic
#18488E #8E1848 #488E18
tetradic
#18488E #8E1883 #8E5E18 #188E23
square
#18488E #8E1883 #8E5E18 #188E23
split-complementary
#18488E #8E2318 #838E18
monochromatic
#061325 #0F2D5A #18488E #2163C2 #4182DF

Accessibility & contrast

On white

8.91
#18488E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#18488E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18488E
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18488E#FFFFFF#000000##FFFFFF
##18488E1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204F91
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #18488e;
/* rgb */ color: rgb(24, 72, 142);
/* oklch */ color: oklch(41.1% 0.127 258.4);
Tailwind
colors: {
  custom: {
    50: '#6a7aaf',
    500: '#18488e',
    950: '#000000',
  },
}
SCSS
$custom: #18488e;
$custom-light: #6a7aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#18488e",
  "rgb": {
    "r": 24,
    "g": 72,
    "b": 142
  },
  "hsl": {
    "h": 215.593,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41126,
    "c": 0.1271,
    "h": 258.4
  },
  "luminance": 0.06782
}

Semantic roles & 50–950 ramp

primary
#18488E
secondary
#C08D42
accent
#A53AEE
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #18488E

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

Preview Lab → · Contrast checker → · Palette generator →

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