#7186D7#7186D7

#7186D7 is a light, vivid blue. Relative luminance 0.255; OKLCH L 63.9% C 0.124 H 271.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#7186D7
RGBrgb(113, 134, 215)
HSLhsl(228, 56%, 64%)
HSVhsv(228, 47%, 84%)
CMYKcmyk(47.4%, 37.7%, 0%, 15.7%)
CIE-LABlab(57.53, 14.17, -43.96)
CIE-LCHlch(57.53, 46.19, 287.86°)
OKLaboklab(63.9% 0.0033 -0.124)
OKLCHoklch(63.9% 0.124 271.5)
XYZxyz(27.5970, 25.4656, 67.7380)
Luminance0.2547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7186D7 #D7C271
analogous
#71B9D7 #7186D7 #8F71D7
triadic
#7186D7 #D77186 #86D771
tetradic
#7186D7 #D771B9 #D7C271 #71D78F
square
#7186D7 #D771B9 #D7C271 #71D78F
split-complementary
#7186D7 #D78F71 #B9D771
monochromatic
#2D45A0 #415DCA #7186D7 #A1AFE4 #D0D7F2

Accessibility & contrast

On white

3.45
#7186D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#7186D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7186D7
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7186D7#FFFFFF#000000##000000
##7186D71.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#678FDA
Deuteranopia (green-blind)
#5E86D5
Tritanopia (blue-blind)
#4997A4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7186d7;
/* rgb */ color: rgb(113, 134, 215);
/* oklch */ color: oklch(63.9% 0.124 271.5);
Tailwind
colors: {
  custom: {
    50: '#9fa9e4',
    500: '#7186d7',
    950: '#000000',
  },
}
SCSS
$custom: #7186d7;
$custom-light: #9fa9e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7186d7",
  "rgb": {
    "r": 113,
    "g": 134,
    "b": 215
  },
  "hsl": {
    "h": 227.647,
    "s": 56.044,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63895,
    "c": 0.12409,
    "h": 271.5
  },
  "luminance": 0.25467
}

Semantic roles & 50–950 ramp

primary
#7186D7
secondary
#E4DCC0
accent
#A222C4
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #7186D7

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

Preview Lab → · Contrast checker → · Palette generator →

#7186D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva