#182186#182186

#182186 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.164 H 269.5°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#182186
RGBrgb(24, 33, 134)
HSLhsl(235, 70%, 31%)
HSVhsv(235, 82%, 53%)
CMYKcmyk(82.1%, 75.4%, 0%, 47.5%)
CIE-LABlab(20.05, 34.68, -56.70)
CIE-LCHlch(20.05, 66.46, 301.45°)
OKLaboklab(32.52% -0.0015 -0.1642)
OKLCHoklch(32.52% 0.164 269.5)
XYZxyz(5.2221, 3.0025, 22.8540)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182186 #867D18
analogous
#185886 #182186 #461886
triadic
#182186 #861821 #218618
tetradic
#182186 #861858 #867D18 #188646
square
#182186 #861858 #867D18 #188646
split-complementary
#182186 #864618 #588618
monochromatic
#05071E #0F1452 #182186 #212EBA #3C49DC

Accessibility & contrast

On white

13.12
#182186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#182186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182186
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182186#FFFFFF#000000##FFFFFF
##1821861.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002B84
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #182186;
/* rgb */ color: rgb(24, 33, 134);
/* oklch */ color: oklch(32.5% 0.164 269.5);
Tailwind
colors: {
  custom: {
    50: '#6b5daa',
    500: '#182186',
    950: '#000000',
  },
}
SCSS
$custom: #182186;
$custom-light: #6b5daa;
$custom-dark: #000000;
JSON
{
  "hex": "#182186",
  "rgb": {
    "r": 24,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 235.091,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32523,
    "c": 0.16426,
    "h": 269.5
  },
  "luminance": 0.03003
}

Semantic roles & 50–950 ramp

primary
#182186
secondary
#BAB040
accent
#DE3BEC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #182186

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

Preview Lab → · Contrast checker → · Palette generator →

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