#18428D#18428D

#18428D is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.7% C 0.133 H 261.0°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#18428D
RGBrgb(24, 66, 141)
HSLhsl(218, 71%, 32%)
HSVhsv(218, 83%, 55%)
CMYKcmyk(83%, 53.2%, 0%, 44.7%)
CIE-LABlab(29.44, 15.00, -45.69)
CIE-LCHlch(29.44, 48.09, 288.17°)
OKLaboklab(39.68% -0.0209 -0.1317)
OKLCHoklch(39.68% 0.133 261)
XYZxyz(7.1309, 6.0128, 25.9789)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18428D #8D6318
analogous
#187C8D #18428D #29188D
triadic
#18428D #8D1842 #428D18
tetradic
#18428D #8D187C #8D6318 #188D29
square
#18428D #8D187C #8D6318 #188D29
split-complementary
#18428D #8D2918 #7C8D18
monochromatic
#061124 #0F2A59 #18428D #215AC1 #4179DF

Accessibility & contrast

On white

9.53
#18428D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18428D
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18428D#FFFFFF#000000##FFFFFF
##18428D1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4B90
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #18428d;
/* rgb */ color: rgb(24, 66, 141);
/* oklch */ color: oklch(39.7% 0.133 261.0);
Tailwind
colors: {
  custom: {
    50: '#6a75af',
    500: '#18428d',
    950: '#000000',
  },
}
SCSS
$custom: #18428d;
$custom-light: #6a75af;
$custom-dark: #000000;
JSON
{
  "hex": "#18428d",
  "rgb": {
    "r": 24,
    "g": 66,
    "b": 141
  },
  "hsl": {
    "h": 218.462,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3968,
    "c": 0.13332,
    "h": 261
  },
  "luminance": 0.06014
}

Semantic roles & 50–950 ramp

primary
#18428D
secondary
#BF9242
accent
#AD3AEE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #18428D

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

Preview Lab → · Contrast checker → · Palette generator →

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