#182884#182884

#182884 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.154 H 268.3°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#182884
RGBrgb(24, 40, 132)
HSLhsl(231, 69%, 31%)
HSVhsv(231, 82%, 52%)
CMYKcmyk(81.8%, 69.7%, 0%, 48.2%)
CIE-LABlab(21.49, 29.39, -53.06)
CIE-LCHlch(21.49, 60.66, 298.98°)
OKLaboklab(33.5% -0.0044 -0.1537)
OKLCHoklch(33.5% 0.154 268.3)
XYZxyz(5.2989, 3.3771, 22.1979)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182884 #847418
analogous
#185E84 #182884 #3E1884
triadic
#182884 #841828 #288418
tetradic
#182884 #84185E #847418 #18843E
square
#182884 #84185E #847418 #18843E
split-complementary
#182884 #843E18 #5E8418
monochromatic
#05091C #0F1850 #182884 #2138B8 #3B53DB

Accessibility & contrast

On white

12.53
#182884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#182884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182884
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182884#FFFFFF#000000##FFFFFF
##1828841.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#002E82
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #182884;
/* rgb */ color: rgb(24, 40, 132);
/* oklch */ color: oklch(33.5% 0.154 268.3);
Tailwind
colors: {
  custom: {
    50: '#6a62a9',
    500: '#182884',
    950: '#000000',
  },
}
SCSS
$custom: #182884;
$custom-light: #6a62a9;
$custom-dark: #000000;
JSON
{
  "hex": "#182884",
  "rgb": {
    "r": 24,
    "g": 40,
    "b": 132
  },
  "hsl": {
    "h": 231.111,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33499,
    "c": 0.15373,
    "h": 268.3
  },
  "luminance": 0.03378
}

Semantic roles & 50–950 ramp

primary
#182884
secondary
#B8A640
accent
#D23CEC
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #182884

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

Preview Lab → · Contrast checker → · Palette generator →

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