#18429F#18429F

#18429F is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.158 H 263.0°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#18429F
RGBrgb(24, 66, 159)
HSLhsl(221, 74%, 36%)
HSVhsv(221, 85%, 62%)
CMYKcmyk(84.9%, 58.5%, 0%, 37.6%)
CIE-LABlab(30.86, 22.31, -54.38)
CIE-LCHlch(30.86, 58.78, 292.31°)
OKLaboklab(41.2% -0.0193 -0.1572)
OKLCHoklch(41.2% 0.158 263)
XYZxyz(8.5807, 6.5928, 33.6144)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18429F #9F7518
analogous
#18859F #18429F #31189F
triadic
#18429F #9F1842 #429F18
tetradic
#18429F #9F1885 #9F7518 #189F31
square
#18429F #9F1885 #9F7518 #189F31
split-complementary
#18429F #9F3118 #859F18
monochromatic
#081635 #102C6A #18429F #2058D4 #4D7CE4

Accessibility & contrast

On white

9.06
#18429F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#18429F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18429F
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18429F#FFFFFF#000000##FFFFFF
##18429F1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #18429f;
/* rgb */ color: rgb(24, 66, 159);
/* oklch */ color: oklch(41.2% 0.158 263.0);
Tailwind
colors: {
  custom: {
    50: '#6f75bc',
    500: '#18429f',
    950: '#000000',
  },
}
SCSS
$custom: #18429f;
$custom-light: #6f75bc;
$custom-dark: #000000;
JSON
{
  "hex": "#18429f",
  "rgb": {
    "r": 24,
    "g": 66,
    "b": 159
  },
  "hsl": {
    "h": 221.333,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41198,
    "c": 0.15838,
    "h": 263
  },
  "luminance": 0.06594
}

Semantic roles & 50–950 ramp

primary
#18429F
secondary
#C6A04D
accent
#B737F0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #18429F

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

Preview Lab → · Contrast checker → · Palette generator →

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