#182478#182478

#182478 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.142 H 269.5°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#182478
RGBrgb(24, 36, 120)
HSLhsl(233, 67%, 28%)
HSVhsv(233, 80%, 47%)
CMYKcmyk(80%, 70%, 0%, 52.9%)
CIE-LABlab(19.27, 27.45, -49.11)
CIE-LCHlch(19.27, 56.26, 299.20°)
OKLaboklab(31.51% -0.0013 -0.1421)
OKLCHoklch(31.51% 0.142 269.5)
XYZxyz(4.3966, 2.8115, 18.0766)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182478 #786C18
analogous
#185478 #182478 #3C1878
triadic
#182478 #781824 #247818
tetradic
#182478 #781854 #786C18 #18783C
square
#182478 #781854 #786C18 #18783C
split-complementary
#182478 #783C18 #547818
monochromatic
#05081A #0E1545 #182478 #2233AB #3448D6

Accessibility & contrast

On white

13.44
#182478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#182478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182478
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182478#FFFFFF#000000##FFFFFF
##1824781.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337B
Deuteranopia (green-blind)
#002A76
Tritanopia (blue-blind)
#003B4A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #182478;
/* rgb */ color: rgb(24, 36, 120);
/* oklch */ color: oklch(31.5% 0.142 269.5);
Tailwind
colors: {
  custom: {
    50: '#675fa0',
    500: '#182478',
    950: '#000000',
  },
}
SCSS
$custom: #182478;
$custom-light: #675fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#182478",
  "rgb": {
    "r": 24,
    "g": 36,
    "b": 120
  },
  "hsl": {
    "h": 232.5,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.31512,
    "c": 0.14214,
    "h": 269.5
  },
  "luminance": 0.02812
}

Semantic roles & 50–950 ramp

primary
#182478
secondary
#AD9F3F
accent
#D43EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #182478

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

Preview Lab → · Contrast checker → · Palette generator →

#182478 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva