#182584#182584

#182584 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.157 H 268.9°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#182584
RGBrgb(24, 37, 132)
HSLhsl(233, 69%, 31%)
HSVhsv(233, 82%, 52%)
CMYKcmyk(81.8%, 72%, 0%, 48.2%)
CIE-LABlab(20.76, 31.38, -54.27)
CIE-LCHlch(20.76, 62.69, 300.04°)
OKLaboklab(32.97% -0.003 -0.1572)
OKLCHoklch(32.97% 0.157 268.9)
XYZxyz(5.2017, 3.1827, 22.1655)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182584 #847718
analogous
#185B84 #182584 #411884
triadic
#182584 #841825 #258418
tetradic
#182584 #84185B #847718 #188441
square
#182584 #84185B #847718 #188441
split-complementary
#182584 #844118 #5B8418
monochromatic
#05081C #0F1650 #182584 #2134B8 #3B4EDB

Accessibility & contrast

On white

12.83
#182584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#182584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182584
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182584#FFFFFF#000000##FFFFFF
##1825841.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#002D82
Tritanopia (blue-blind)
#004051
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #182584;
/* rgb */ color: rgb(24, 37, 132);
/* oklch */ color: oklch(33.0% 0.157 268.9);
Tailwind
colors: {
  custom: {
    50: '#6a60a9',
    500: '#182584',
    950: '#000000',
  },
}
SCSS
$custom: #182584;
$custom-light: #6a60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#182584",
  "rgb": {
    "r": 24,
    "g": 37,
    "b": 132
  },
  "hsl": {
    "h": 232.778,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32966,
    "c": 0.15723,
    "h": 268.9
  },
  "luminance": 0.03183
}

Semantic roles & 50–950 ramp

primary
#182584
secondary
#B8A940
accent
#D73CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #182584

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

Preview Lab → · Contrast checker → · Palette generator →

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