#18428C#18428C

#18428C is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.6% C 0.132 H 260.8°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#18428C
RGBrgb(24, 66, 140)
HSLhsl(218, 71%, 32%)
HSVhsv(218, 83%, 55%)
CMYKcmyk(82.9%, 52.9%, 0%, 45.1%)
CIE-LABlab(29.37, 14.59, -45.20)
CIE-LCHlch(29.37, 47.49, 287.89°)
OKLaboklab(39.6% -0.0211 -0.1302)
OKLCHoklch(39.6% 0.132 260.8)
XYZxyz(7.0568, 5.9832, 25.5888)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18428C #8C6218
analogous
#187C8C #18428C #28188C
triadic
#18428C #8C1842 #428C18
tetradic
#18428C #8C187C #8C6218 #188C28
square
#18428C #8C187C #8C6218 #188C28
split-complementary
#18428C #8C2818 #7C8C18
monochromatic
#061124 #0F2958 #18428C #215BC0 #4079DE

Accessibility & contrast

On white

9.56
#18428C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#18428C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18428C
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18428C#FFFFFF#000000##FFFFFF
##18428C1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104B8F
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #18428c;
/* rgb */ color: rgb(24, 66, 140);
/* oklch */ color: oklch(39.6% 0.132 260.8);
Tailwind
colors: {
  custom: {
    50: '#6a75ae',
    500: '#18428c',
    950: '#000000',
  },
}
SCSS
$custom: #18428c;
$custom-light: #6a75ae;
$custom-dark: #000000;
JSON
{
  "hex": "#18428c",
  "rgb": {
    "r": 24,
    "g": 66,
    "b": 140
  },
  "hsl": {
    "h": 218.276,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39599,
    "c": 0.13191,
    "h": 260.8
  },
  "luminance": 0.05984
}

Semantic roles & 50–950 ramp

primary
#18428C
secondary
#BF9141
accent
#AD3AED
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #18428C

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

Preview Lab → · Contrast checker → · Palette generator →

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