#18459D#18459D

#18459D is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.7% C 0.152 H 261.9°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#18459D
RGBrgb(24, 69, 157)
HSLhsl(220, 73%, 35%)
HSVhsv(220, 85%, 62%)
CMYKcmyk(84.7%, 56.1%, 0%, 38.4%)
CIE-LABlab(31.54, 19.45, -52.06)
CIE-LCHlch(31.54, 55.58, 290.49°)
OKLaboklab(41.66% -0.0214 -0.1503)
OKLCHoklch(41.66% 0.152 261.9)
XYZxyz(8.5884, 6.8837, 32.7678)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18459D #9D7018
analogous
#18889D #18459D #2D189D
triadic
#18459D #9D1845 #459D18
tetradic
#18459D #9D1888 #9D7018 #189D2D
square
#18459D #9D1888 #9D7018 #189D2D
split-complementary
#18459D #9D2D18 #889D18
monochromatic
#081633 #102E68 #18459D #205CD2 #4C7FE4

Accessibility & contrast

On white

8.83
#18459D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#18459D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18459D
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18459D#FFFFFF#000000##FFFFFF
##18459D1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#00449B
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #18459d;
/* rgb */ color: rgb(24, 69, 157);
/* oklch */ color: oklch(41.7% 0.152 261.9);
Tailwind
colors: {
  custom: {
    50: '#6e78bb',
    500: '#18459d',
    950: '#000000',
  },
}
SCSS
$custom: #18459d;
$custom-light: #6e78bb;
$custom-dark: #000000;
JSON
{
  "hex": "#18459d",
  "rgb": {
    "r": 24,
    "g": 69,
    "b": 157
  },
  "hsl": {
    "h": 219.699,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4166,
    "c": 0.15185,
    "h": 261.9
  },
  "luminance": 0.06885
}

Semantic roles & 50–950 ramp

primary
#18459D
secondary
#C59C4B
accent
#B238F0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080812
muted
#7B7B81

Preview Lab

Preview with #18459D

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

Preview Lab → · Contrast checker → · Palette generator →

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