#18428B#18428B

#18428B is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.5% C 0.130 H 260.7°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#18428B
RGBrgb(24, 66, 139)
HSLhsl(218, 71%, 32%)
HSVhsv(218, 83%, 55%)
CMYKcmyk(82.7%, 52.5%, 0%, 45.5%)
CIE-LABlab(29.30, 14.18, -44.70)
CIE-LCHlch(29.30, 46.90, 287.60°)
OKLaboklab(39.52% -0.0212 -0.1288)
OKLCHoklch(39.52% 0.13 260.7)
XYZxyz(6.9834, 5.9539, 25.2022)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18428B #8B6118
analogous
#187C8B #18428B #28188B
triadic
#18428B #8B1842 #428B18
tetradic
#18428B #8B187C #8B6118 #188B28
square
#18428B #8B187C #8B6118 #188B28
split-complementary
#18428B #8B2818 #7C8B18
monochromatic
#061023 #0F2957 #18428B #215BBF #3F79DE

Accessibility & contrast

On white

9.58
#18428B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#18428B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18428B
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18428B#FFFFFF#000000##FFFFFF
##18428B1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124B8E
Deuteranopia (green-blind)
#00408A
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #18428b;
/* rgb */ color: rgb(24, 66, 139);
/* oklch */ color: oklch(39.5% 0.130 260.7);
Tailwind
colors: {
  custom: {
    50: '#6975ad',
    500: '#18428b',
    950: '#000000',
  },
}
SCSS
$custom: #18428b;
$custom-light: #6975ad;
$custom-dark: #000000;
JSON
{
  "hex": "#18428b",
  "rgb": {
    "r": 24,
    "g": 66,
    "b": 139
  },
  "hsl": {
    "h": 218.087,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39519,
    "c": 0.13049,
    "h": 260.7
  },
  "luminance": 0.05955
}

Semantic roles & 50–950 ramp

primary
#18428B
secondary
#BE9040
accent
#AC3AED
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #18428B

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

Preview Lab → · Contrast checker → · Palette generator →

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