#182786#182786

#182786 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.158 H 268.5°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#182786
RGBrgb(24, 39, 134)
HSLhsl(232, 70%, 31%)
HSVhsv(232, 82%, 53%)
CMYKcmyk(82.1%, 70.9%, 0%, 47.5%)
CIE-LABlab(21.45, 30.82, -54.39)
CIE-LCHlch(21.45, 62.52, 299.54°)
OKLaboklab(33.53% -0.0041 -0.1575)
OKLCHoklch(33.53% 0.158 268.5)
XYZxyz(5.4038, 3.3658, 22.9145)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182786 #867718
analogous
#185E86 #182786 #401886
triadic
#182786 #861827 #278618
tetradic
#182786 #86185E #867718 #188640
square
#182786 #86185E #867718 #188640
split-complementary
#182786 #864018 #5E8618
monochromatic
#05091E #0F1852 #182786 #2136BA #3C52DC

Accessibility & contrast

On white

12.55
#182786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#182786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182786
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182786#FFFFFF#000000##FFFFFF
##1827861.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#002E84
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #182786;
/* rgb */ color: rgb(24, 39, 134);
/* oklch */ color: oklch(33.5% 0.158 268.5);
Tailwind
colors: {
  custom: {
    50: '#6a61aa',
    500: '#182786',
    950: '#000000',
  },
}
SCSS
$custom: #182786;
$custom-light: #6a61aa;
$custom-dark: #000000;
JSON
{
  "hex": "#182786",
  "rgb": {
    "r": 24,
    "g": 39,
    "b": 134
  },
  "hsl": {
    "h": 231.818,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3353,
    "c": 0.15759,
    "h": 268.5
  },
  "luminance": 0.03366
}

Semantic roles & 50–950 ramp

primary
#182786
secondary
#BAA940
accent
#D43BEC
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #182786

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

Preview Lab → · Contrast checker → · Palette generator →

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