#182086#182086

#182086 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.165 H 269.6°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#182086
RGBrgb(24, 32, 134)
HSLhsl(236, 70%, 31%)
HSVhsv(236, 82%, 53%)
CMYKcmyk(82.1%, 76.1%, 0%, 47.5%)
CIE-LABlab(19.83, 35.29, -57.06)
CIE-LCHlch(19.83, 67.09, 301.74°)
OKLaboklab(32.37% -0.0011 -0.1653)
OKLCHoklch(32.37% 0.165 269.6)
XYZxyz(5.1948, 2.9478, 22.8448)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182086 #867E18
analogous
#185786 #182086 #471886
triadic
#182086 #861820 #208618
tetradic
#182086 #861857 #867E18 #188647
square
#182086 #861857 #867E18 #188647
split-complementary
#182086 #864718 #578618
monochromatic
#05071E #0F1452 #182086 #212CBA #3C48DC

Accessibility & contrast

On white

13.21
#182086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#182086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182086
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182086#FFFFFF#000000##FFFFFF
##1820861.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182086;
/* rgb */ color: rgb(24, 32, 134);
/* oklch */ color: oklch(32.4% 0.165 269.6);
Tailwind
colors: {
  custom: {
    50: '#6b5caa',
    500: '#182086',
    950: '#000000',
  },
}
SCSS
$custom: #182086;
$custom-light: #6b5caa;
$custom-dark: #000000;
JSON
{
  "hex": "#182086",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 235.636,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32366,
    "c": 0.1653,
    "h": 269.6
  },
  "luminance": 0.02948
}

Semantic roles & 50–950 ramp

primary
#182086
secondary
#BAB140
accent
#E03BEC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #182086

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

Preview Lab → · Contrast checker → · Palette generator →

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