#18428F#18428F

#18428F is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.8% C 0.136 H 261.3°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#18428F
RGBrgb(24, 66, 143)
HSLhsl(219, 71%, 33%)
HSVhsv(219, 83%, 56%)
CMYKcmyk(83.2%, 53.8%, 0%, 43.9%)
CIE-LABlab(29.60, 15.82, -46.68)
CIE-LCHlch(29.60, 49.29, 288.72°)
OKLaboklab(39.84% -0.0207 -0.1346)
OKLCHoklch(39.84% 0.136 261.3)
XYZxyz(7.2810, 6.0729, 26.7697)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18428F #8F6518
analogous
#187D8F #18428F #2A188F
triadic
#18428F #8F1842 #428F18
tetradic
#18428F #8F187D #8F6518 #188F2A
square
#18428F #8F187D #8F6518 #188F2A
split-complementary
#18428F #8F2A18 #7D8F18
monochromatic
#061226 #0F2A5B #18428F #215AC3 #427ADF

Accessibility & contrast

On white

9.48
#18428F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18428F
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18428F#FFFFFF#000000##FFFFFF
##18428F1.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084B92
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #18428f;
/* rgb */ color: rgb(24, 66, 143);
/* oklch */ color: oklch(39.8% 0.136 261.3);
Tailwind
colors: {
  custom: {
    50: '#6a75b0',
    500: '#18428f',
    950: '#000000',
  },
}
SCSS
$custom: #18428f;
$custom-light: #6a75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#18428f",
  "rgb": {
    "r": 24,
    "g": 66,
    "b": 143
  },
  "hsl": {
    "h": 218.824,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39842,
    "c": 0.13615,
    "h": 261.3
  },
  "luminance": 0.06074
}

Semantic roles & 50–950 ramp

primary
#18428F
secondary
#C09443
accent
#AE3AEE
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080811
muted
#7A7B80

Preview Lab

Preview with #18428F

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

Preview Lab → · Contrast checker → · Palette generator →

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