#18419B#18419B

#18419B is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.154 H 262.9°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#18419B
RGBrgb(24, 65, 155)
HSLhsl(221, 73%, 35%)
HSVhsv(221, 85%, 61%)
CMYKcmyk(84.5%, 58.1%, 0%, 39.2%)
CIE-LABlab(30.26, 21.39, -52.94)
CIE-LCHlch(30.26, 57.10, 292.00°)
OKLaboklab(40.64% -0.0189 -0.153)
OKLCHoklch(40.64% 0.154 262.9)
XYZxyz(8.1813, 6.3403, 31.7966)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18419B #9B7218
analogous
#18839B #18419B #30189B
triadic
#18419B #9B1841 #419B18
tetradic
#18419B #9B1883 #9B7218 #189B30
square
#18419B #9B1883 #9B7218 #189B30
split-complementary
#18419B #9B3018 #839B18
monochromatic
#081531 #102B66 #18419B #2057D0 #4A7AE3

Accessibility & contrast

On white

9.26
#18419B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#18419B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18419B
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18419B#FFFFFF#000000##FFFFFF
##18419B1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #18419b;
/* rgb */ color: rgb(24, 65, 155);
/* oklch */ color: oklch(40.6% 0.154 262.9);
Tailwind
colors: {
  custom: {
    50: '#6e75b9',
    500: '#18419b',
    950: '#000000',
  },
}
SCSS
$custom: #18419b;
$custom-light: #6e75b9;
$custom-dark: #000000;
JSON
{
  "hex": "#18419b",
  "rgb": {
    "r": 24,
    "g": 65,
    "b": 155
  },
  "hsl": {
    "h": 221.221,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4064,
    "c": 0.15416,
    "h": 262.9
  },
  "luminance": 0.06341
}

Semantic roles & 50–950 ramp

primary
#18419B
secondary
#C59E4A
accent
#B638F0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080812
muted
#7B7B81

Preview Lab

Preview with #18419B

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

Preview Lab → · Contrast checker → · Palette generator →

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