#18419F#18419F

#18419F is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.160 H 263.3°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#18419F
RGBrgb(24, 65, 159)
HSLhsl(222, 74%, 36%)
HSVhsv(222, 85%, 62%)
CMYKcmyk(84.9%, 59.1%, 0%, 37.6%)
CIE-LABlab(30.59, 23.00, -54.83)
CIE-LCHlch(30.59, 59.45, 292.76°)
OKLaboklab(40.99% -0.0187 -0.1585)
OKLCHoklch(40.99% 0.16 263.3)
XYZxyz(8.5228, 6.4769, 33.5951)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18419F #9F7618
analogous
#18849F #18419F #33189F
triadic
#18419F #9F1841 #419F18
tetradic
#18419F #9F1884 #9F7618 #189F33
square
#18419F #9F1884 #9F7618 #189F33
split-complementary
#18419F #9F3318 #849F18
monochromatic
#081635 #102B6A #18419F #2057D4 #4D7BE4

Accessibility & contrast

On white

9.15
#18419F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#18419F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18419F
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18419F#FFFFFF#000000##FFFFFF
##18419F1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #18419f;
/* rgb */ color: rgb(24, 65, 159);
/* oklch */ color: oklch(41.0% 0.160 263.3);
Tailwind
colors: {
  custom: {
    50: '#6f75bc',
    500: '#18419f',
    950: '#000000',
  },
}
SCSS
$custom: #18419f;
$custom-light: #6f75bc;
$custom-dark: #000000;
JSON
{
  "hex": "#18419f",
  "rgb": {
    "r": 24,
    "g": 65,
    "b": 159
  },
  "hsl": {
    "h": 221.778,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40991,
    "c": 0.15964,
    "h": 263.3
  },
  "luminance": 0.06478
}

Semantic roles & 50–950 ramp

primary
#18419F
secondary
#C6A14D
accent
#B837F0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #18419F

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

Preview Lab → · Contrast checker → · Palette generator →

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