#182784#182784

#182784 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.3% C 0.155 H 268.5°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#182784
RGBrgb(24, 39, 132)
HSLhsl(232, 69%, 31%)
HSVhsv(232, 82%, 52%)
CMYKcmyk(81.8%, 70.5%, 0%, 48.2%)
CIE-LABlab(21.25, 30.06, -53.47)
CIE-LCHlch(21.25, 61.34, 299.34°)
OKLaboklab(33.32% -0.0039 -0.1549)
OKLCHoklch(33.32% 0.155 268.5)
XYZxyz(5.2656, 3.3106, 22.1868)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182784 #847518
analogous
#185D84 #182784 #3F1884
triadic
#182784 #841827 #278418
tetradic
#182784 #84185D #847518 #18843F
square
#182784 #84185D #847518 #18843F
split-complementary
#182784 #843F18 #5D8418
monochromatic
#05081C #0F1850 #182784 #2136B8 #3B51DB

Accessibility & contrast

On white

12.63
#182784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#182784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182784
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182784#FFFFFF#000000##FFFFFF
##1827841.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182784;
/* rgb */ color: rgb(24, 39, 132);
/* oklch */ color: oklch(33.3% 0.155 268.5);
Tailwind
colors: {
  custom: {
    50: '#6a61a9',
    500: '#182784',
    950: '#000000',
  },
}
SCSS
$custom: #182784;
$custom-light: #6a61a9;
$custom-dark: #000000;
JSON
{
  "hex": "#182784",
  "rgb": {
    "r": 24,
    "g": 39,
    "b": 132
  },
  "hsl": {
    "h": 231.667,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33318,
    "c": 0.15492,
    "h": 268.5
  },
  "luminance": 0.03311
}

Semantic roles & 50–950 ramp

primary
#182784
secondary
#B8A740
accent
#D43CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #182784

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

Preview Lab → · Contrast checker → · Palette generator →

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