#18409D#18409D

#18409D is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.158 H 263.4°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#18409D
RGBrgb(24, 64, 157)
HSLhsl(222, 73%, 35%)
HSVhsv(222, 85%, 62%)
CMYKcmyk(84.7%, 59.2%, 0%, 38.4%)
CIE-LABlab(30.14, 22.88, -54.34)
CIE-LCHlch(30.14, 58.96, 292.83°)
OKLaboklab(40.61% -0.0182 -0.1571)
OKLCHoklch(40.61% 0.158 263.4)
XYZxyz(8.2937, 6.2943, 32.6695)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18409D #9D7518
analogous
#18829D #18409D #32189D
triadic
#18409D #9D1840 #409D18
tetradic
#18409D #9D1882 #9D7518 #189D32
square
#18409D #9D1882 #9D7518 #189D32
split-complementary
#18409D #9D3218 #829D18
monochromatic
#081533 #102A68 #18409D #2056D2 #4C79E4

Accessibility & contrast

On white

9.30
#18409D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#18409D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18409D
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18409D#FFFFFF#000000##FFFFFF
##18409D1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #18409d;
/* rgb */ color: rgb(24, 64, 157);
/* oklch */ color: oklch(40.6% 0.158 263.4);
Tailwind
colors: {
  custom: {
    50: '#6e74bb',
    500: '#18409d',
    950: '#000000',
  },
}
SCSS
$custom: #18409d;
$custom-light: #6e74bb;
$custom-dark: #000000;
JSON
{
  "hex": "#18409d",
  "rgb": {
    "r": 24,
    "g": 64,
    "b": 157
  },
  "hsl": {
    "h": 221.955,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40607,
    "c": 0.15816,
    "h": 263.4
  },
  "luminance": 0.06295
}

Semantic roles & 50–950 ramp

primary
#18409D
secondary
#C5A14B
accent
#B938F0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #18409D

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

Preview Lab → · Contrast checker → · Palette generator →

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