#182586#182586

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

Color values

HEX#182586
RGBrgb(24, 37, 134)
HSLhsl(233, 70%, 31%)
HSVhsv(233, 82%, 53%)
CMYKcmyk(82.1%, 72.4%, 0%, 47.5%)
CIE-LABlab(20.97, 32.13, -55.18)
CIE-LCHlch(20.97, 63.86, 300.21°)
OKLaboklab(33.18% -0.0032 -0.1598)
OKLCHoklch(33.18% 0.16 268.9)
XYZxyz(5.3398, 3.2379, 22.8932)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182586 #867918
analogous
#185C86 #182586 #421886
triadic
#182586 #861825 #258618
tetradic
#182586 #86185C #867918 #188642
square
#182586 #86185C #867918 #188642
split-complementary
#182586 #864218 #5C8618
monochromatic
#05081E #0F1752 #182586 #2133BA #3C4FDC

Accessibility & contrast

On white

12.74
#182586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#182586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182586
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182586#FFFFFF#000000##FFFFFF
##1825861.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182586;
/* rgb */ color: rgb(24, 37, 134);
/* oklch */ color: oklch(33.2% 0.160 268.9);
Tailwind
colors: {
  custom: {
    50: '#6a60aa',
    500: '#182586',
    950: '#000000',
  },
}
SCSS
$custom: #182586;
$custom-light: #6a60aa;
$custom-dark: #000000;
JSON
{
  "hex": "#182586",
  "rgb": {
    "r": 24,
    "g": 37,
    "b": 134
  },
  "hsl": {
    "h": 232.909,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33183,
    "c": 0.15988,
    "h": 268.9
  },
  "luminance": 0.03239
}

Semantic roles & 50–950 ramp

primary
#182586
secondary
#BAAB40
accent
#D83BEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #182586

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

Preview Lab → · Contrast checker → · Palette generator →

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