#182386#182386

#182386 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.162 H 269.2°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#182386
RGBrgb(24, 35, 134)
HSLhsl(234, 70%, 31%)
HSVhsv(234, 82%, 53%)
CMYKcmyk(82.1%, 73.9%, 0%, 47.5%)
CIE-LABlab(20.51, 33.42, -55.95)
CIE-LCHlch(20.51, 65.17, 300.85°)
OKLaboklab(32.85% -0.0023 -0.1621)
OKLCHoklch(32.85% 0.162 269.2)
XYZxyz(5.2793, 3.1169, 22.8730)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182386 #867B18
analogous
#185A86 #182386 #441886
triadic
#182386 #861823 #238618
tetradic
#182386 #86185A #867B18 #188644
square
#182386 #86185A #867B18 #188644
split-complementary
#182386 #864418 #5A8618
monochromatic
#05081E #0F1552 #182386 #2131BA #3C4CDC

Accessibility & contrast

On white

12.94
#182386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#182386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182386
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182386#FFFFFF#000000##FFFFFF
##1823861.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#002C84
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #182386;
/* rgb */ color: rgb(24, 35, 134);
/* oklch */ color: oklch(32.8% 0.162 269.2);
Tailwind
colors: {
  custom: {
    50: '#6b5eaa',
    500: '#182386',
    950: '#000000',
  },
}
SCSS
$custom: #182386;
$custom-light: #6b5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#182386",
  "rgb": {
    "r": 24,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 234,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32847,
    "c": 0.16211,
    "h": 269.2
  },
  "luminance": 0.03117
}

Semantic roles & 50–950 ramp

primary
#182386
secondary
#BAAE40
accent
#DB3BEC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #182386

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

Preview Lab → · Contrast checker → · Palette generator →

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