#18419D#18419D

#18419D is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.157 H 263.1°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#18419D
RGBrgb(24, 65, 157)
HSLhsl(222, 73%, 35%)
HSVhsv(222, 85%, 62%)
CMYKcmyk(84.7%, 58.6%, 0%, 38.4%)
CIE-LABlab(30.42, 22.19, -53.89)
CIE-LCHlch(30.42, 58.28, 292.39°)
OKLaboklab(40.81% -0.0188 -0.1558)
OKLCHoklch(40.81% 0.157 263.1)
XYZxyz(8.3506, 6.4081, 32.6885)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18419D #9D7418
analogous
#18839D #18419D #32189D
triadic
#18419D #9D1841 #419D18
tetradic
#18419D #9D1883 #9D7418 #189D32
square
#18419D #9D1883 #9D7418 #189D32
split-complementary
#18419D #9D3218 #839D18
monochromatic
#081533 #102B68 #18419D #2057D2 #4C7BE4

Accessibility & contrast

On white

9.20
#18419D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#18419D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18419D
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18419D#FFFFFF#000000##FFFFFF
##18419D1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#00429B
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #18419d;
/* rgb */ color: rgb(24, 65, 157);
/* oklch */ color: oklch(40.8% 0.157 263.1);
Tailwind
colors: {
  custom: {
    50: '#6e75bb',
    500: '#18419d',
    950: '#000000',
  },
}
SCSS
$custom: #18419d;
$custom-light: #6e75bb;
$custom-dark: #000000;
JSON
{
  "hex": "#18419d",
  "rgb": {
    "r": 24,
    "g": 65,
    "b": 157
  },
  "hsl": {
    "h": 221.504,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40814,
    "c": 0.1569,
    "h": 263.1
  },
  "luminance": 0.06409
}

Semantic roles & 50–950 ramp

primary
#18419D
secondary
#C5A04B
accent
#B738F0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #18419D

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

Preview Lab → · Contrast checker → · Palette generator →

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