#18428E#18428E

#18428E is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.135 H 261.1°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#18428E
RGBrgb(24, 66, 142)
HSLhsl(219, 71%, 33%)
HSVhsv(219, 83%, 56%)
CMYKcmyk(83.1%, 53.5%, 0%, 44.3%)
CIE-LABlab(29.52, 15.41, -46.19)
CIE-LCHlch(29.52, 48.69, 288.45°)
OKLaboklab(39.76% -0.0208 -0.1331)
OKLCHoklch(39.76% 0.135 261.1)
XYZxyz(7.2056, 6.0427, 26.3725)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18428E #8E6418
analogous
#187D8E #18428E #29188E
triadic
#18428E #8E1842 #428E18
tetradic
#18428E #8E187D #8E6418 #188E29
square
#18428E #8E187D #8E6418 #188E29
split-complementary
#18428E #8E2918 #7D8E18
monochromatic
#061125 #0F2A5A #18428E #215AC2 #417ADF

Accessibility & contrast

On white

9.51
#18428E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#18428E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18428E
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18428E#FFFFFF#000000##FFFFFF
##18428E1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4B91
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #18428e;
/* rgb */ color: rgb(24, 66, 142);
/* oklch */ color: oklch(39.8% 0.135 261.1);
Tailwind
colors: {
  custom: {
    50: '#6a75b0',
    500: '#18428e',
    950: '#000000',
  },
}
SCSS
$custom: #18428e;
$custom-light: #6a75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#18428e",
  "rgb": {
    "r": 24,
    "g": 66,
    "b": 142
  },
  "hsl": {
    "h": 218.644,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39761,
    "c": 0.13475,
    "h": 261.1
  },
  "luminance": 0.06044
}

Semantic roles & 50–950 ramp

primary
#18428E
secondary
#C09342
accent
#AE3AEE
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #18428E

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

Preview Lab → · Contrast checker → · Palette generator →

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