#182686#182686

#182686 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.159 H 268.7°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#182686
RGBrgb(24, 38, 134)
HSLhsl(232, 70%, 31%)
HSVhsv(232, 82%, 53%)
CMYKcmyk(82.1%, 71.6%, 0%, 47.5%)
CIE-LABlab(21.21, 31.48, -54.79)
CIE-LCHlch(21.21, 63.19, 299.88°)
OKLaboklab(33.36% -0.0036 -0.1587)
OKLCHoklch(33.36% 0.159 268.7)
XYZxyz(5.3714, 3.3010, 22.9037)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182686 #867818
analogous
#185D86 #182686 #411886
triadic
#182686 #861826 #268618
tetradic
#182686 #86185D #867818 #188641
square
#182686 #86185D #867818 #188641
split-complementary
#182686 #864118 #5D8618
monochromatic
#05091E #0F1752 #182686 #2135BA #3C51DC

Accessibility & contrast

On white

12.65
#182686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#182686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182686
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182686#FFFFFF#000000##FFFFFF
##1826861.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182686;
/* rgb */ color: rgb(24, 38, 134);
/* oklch */ color: oklch(33.4% 0.159 268.7);
Tailwind
colors: {
  custom: {
    50: '#6a60aa',
    500: '#182686',
    950: '#000000',
  },
}
SCSS
$custom: #182686;
$custom-light: #6a60aa;
$custom-dark: #000000;
JSON
{
  "hex": "#182686",
  "rgb": {
    "r": 24,
    "g": 38,
    "b": 134
  },
  "hsl": {
    "h": 232.364,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33355,
    "c": 0.15874,
    "h": 268.7
  },
  "luminance": 0.03302
}

Semantic roles & 50–950 ramp

primary
#182686
secondary
#BAAA40
accent
#D63BEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #182686

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

Preview Lab → · Contrast checker → · Palette generator →

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