#18468A#18468A

#18468A is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.4% C 0.124 H 258.6°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#18468A
RGBrgb(24, 70, 138)
HSLhsl(216, 70%, 32%)
HSVhsv(216, 83%, 54%)
CMYKcmyk(82.6%, 49.3%, 0%, 45.9%)
CIE-LABlab(30.42, 11.01, -42.27)
CIE-LCHlch(30.42, 43.68, 284.59°)
OKLaboklab(40.36% -0.0245 -0.1215)
OKLCHoklch(40.36% 0.124 258.6)
XYZxyz(7.1526, 6.4086, 24.8998)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18468A #8A5C18
analogous
#187F8A #18468A #23188A
triadic
#18468A #8A1846 #468A18
tetradic
#18468A #8A187F #8A5C18 #188A23
square
#18468A #8A187F #8A5C18 #188A23
split-complementary
#18468A #8A2318 #7F8A18
monochromatic
#061122 #0F2C56 #18468A #2160BE #3F7FDE

Accessibility & contrast

On white

9.20
#18468A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#18468A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18468A
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18468A#FFFFFF#000000##FFFFFF
##18468A1.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)
#1F4D8D
Deuteranopia (green-blind)
#004389
Tritanopia (blue-blind)
#005661
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #18468a;
/* rgb */ color: rgb(24, 70, 138);
/* oklch */ color: oklch(40.4% 0.124 258.6);
Tailwind
colors: {
  custom: {
    50: '#6978ad',
    500: '#18468a',
    950: '#000000',
  },
}
SCSS
$custom: #18468a;
$custom-light: #6978ad;
$custom-dark: #000000;
JSON
{
  "hex": "#18468a",
  "rgb": {
    "r": 24,
    "g": 70,
    "b": 138
  },
  "hsl": {
    "h": 215.789,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40358,
    "c": 0.12396,
    "h": 258.6
  },
  "luminance": 0.06409
}

Semantic roles & 50–950 ramp

primary
#18468A
secondary
#BD8B40
accent
#A53BED
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #18468A

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

Preview Lab → · Contrast checker → · Palette generator →

#18468A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva