#182486#182486

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

Color values

HEX#182486
RGBrgb(24, 36, 134)
HSLhsl(233, 70%, 31%)
HSVhsv(233, 82%, 53%)
CMYKcmyk(82.1%, 73.1%, 0%, 47.5%)
CIE-LABlab(20.74, 32.78, -55.57)
CIE-LCHlch(20.74, 64.52, 300.54°)
OKLaboklab(33.01% -0.0027 -0.161)
OKLCHoklch(33.01% 0.161 269)
XYZxyz(5.3092, 3.1766, 22.8830)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182486 #867A18
analogous
#185B86 #182486 #431886
triadic
#182486 #861824 #248618
tetradic
#182486 #86185B #867A18 #188643
square
#182486 #86185B #867A18 #188643
split-complementary
#182486 #864318 #5B8618
monochromatic
#05081E #0F1652 #182486 #2132BA #3C4EDC

Accessibility & contrast

On white

12.84
#182486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182486
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182486#FFFFFF#000000##FFFFFF
##1824861.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#002D84
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #182486;
/* rgb */ color: rgb(24, 36, 134);
/* oklch */ color: oklch(33.0% 0.161 269.0);
Tailwind
colors: {
  custom: {
    50: '#6a5faa',
    500: '#182486',
    950: '#000000',
  },
}
SCSS
$custom: #182486;
$custom-light: #6a5faa;
$custom-dark: #000000;
JSON
{
  "hex": "#182486",
  "rgb": {
    "r": 24,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 233.455,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33013,
    "c": 0.161,
    "h": 269
  },
  "luminance": 0.03177
}

Semantic roles & 50–950 ramp

primary
#182486
secondary
#BAAC40
accent
#D93BEC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #182486

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

Preview Lab → · Contrast checker → · Palette generator →

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