#18488F#18488F

#18488F is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.2% C 0.129 H 258.6°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#18488F
RGBrgb(24, 72, 143)
HSLhsl(216, 71%, 33%)
HSVhsv(216, 83%, 56%)
CMYKcmyk(83.2%, 49.7%, 0%, 43.9%)
CIE-LABlab(31.37, 11.69, -43.81)
CIE-LCHlch(31.37, 45.34, 284.94°)
OKLaboklab(41.2% -0.0253 -0.126)
OKLCHoklch(41.2% 0.129 258.6)
XYZxyz(7.6502, 6.8112, 26.8928)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18488F #8F5F18
analogous
#18838F #18488F #23188F
triadic
#18488F #8F1848 #488F18
tetradic
#18488F #8F1883 #8F5F18 #188F23
square
#18488F #8F1883 #8F5F18 #188F23
split-complementary
#18488F #8F2318 #838F18
monochromatic
#061326 #0F2E5B #18488F #2162C3 #4282DF

Accessibility & contrast

On white

8.89
#18488F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18488F
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18488F#FFFFFF#000000##FFFFFF
##18488F1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5092
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #18488f;
/* rgb */ color: rgb(24, 72, 143);
/* oklch */ color: oklch(41.2% 0.129 258.6);
Tailwind
colors: {
  custom: {
    50: '#6a7ab0',
    500: '#18488f',
    950: '#000000',
  },
}
SCSS
$custom: #18488f;
$custom-light: #6a7ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#18488f",
  "rgb": {
    "r": 24,
    "g": 72,
    "b": 143
  },
  "hsl": {
    "h": 215.798,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41202,
    "c": 0.12851,
    "h": 258.6
  },
  "luminance": 0.06812
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #18488F

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

Preview Lab → · Contrast checker → · Palette generator →

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