#18428A#18428A

#18428A is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.4% C 0.129 H 260.5°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#18428A
RGBrgb(24, 66, 138)
HSLhsl(218, 70%, 32%)
HSVhsv(218, 83%, 54%)
CMYKcmyk(82.6%, 52.2%, 0%, 45.9%)
CIE-LABlab(29.22, 13.77, -44.20)
CIE-LCHlch(29.22, 46.30, 287.30°)
OKLaboklab(39.44% -0.0213 -0.1273)
OKLCHoklch(39.44% 0.129 260.5)
XYZxyz(6.9107, 5.9248, 24.8192)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18428A #8A6018
analogous
#187B8A #18428A #27188A
triadic
#18428A #8A1842 #428A18
tetradic
#18428A #8A187B #8A6018 #188A27
square
#18428A #8A187B #8A6018 #188A27
split-complementary
#18428A #8A2718 #7B8A18
monochromatic
#061022 #0F2956 #18428A #215BBE #3F79DE

Accessibility & contrast

On white

9.61
#18428A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18428A
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18428A#FFFFFF#000000##FFFFFF
##18428A1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134A8D
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #18428a;
/* rgb */ color: rgb(24, 66, 138);
/* oklch */ color: oklch(39.4% 0.129 260.5);
Tailwind
colors: {
  custom: {
    50: '#6975ad',
    500: '#18428a',
    950: '#000000',
  },
}
SCSS
$custom: #18428a;
$custom-light: #6975ad;
$custom-dark: #000000;
JSON
{
  "hex": "#18428a",
  "rgb": {
    "r": 24,
    "g": 66,
    "b": 138
  },
  "hsl": {
    "h": 217.895,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39439,
    "c": 0.12907,
    "h": 260.5
  },
  "luminance": 0.05926
}

Semantic roles & 50–950 ramp

primary
#18428A
secondary
#BD8F40
accent
#AB3BED
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #18428A

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

Preview Lab → · Contrast checker → · Palette generator →

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