#7166BF#7166BF

#7166BF is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.2% C 0.134 H 286.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7166BF
RGBrgb(113, 102, 191)
HSLhsl(247, 41%, 57%)
HSVhsv(247, 47%, 75%)
CMYKcmyk(40.8%, 46.6%, 0%, 25.1%)
CIE-LABlab(47.97, 26.34, -45.44)
CIE-LCHlch(47.97, 52.52, 300.10°)
OKLaboklab(56.2% 0.0391 -0.1285)
OKLCHoklch(56.2% 0.134 286.9)
XYZxyz(20.9628, 16.7743, 51.4134)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7166BF #B4BF66
analogous
#6687BF #7166BF #9E66BF
triadic
#7166BF #BF7166 #66BF71
tetradic
#7166BF #BF6687 #B4BF66 #66BF9E
square
#7166BF #BF6687 #B4BF66 #66BF9E
split-complementary
#7166BF #BF9E66 #87BF66
monochromatic
#3B3278 #5044A3 #7166BF #9991D1 #C1BCE3

Accessibility & contrast

On white

4.82
#7166BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7166BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7166BF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7166BF#FFFFFF#000000##FFFFFF
##7166BF1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4474C2
Deuteranopia (green-blind)
#436FBD
Tritanopia (blue-blind)
#5B7889
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7166bf;
/* rgb */ color: rgb(113, 102, 191);
/* oklch */ color: oklch(56.2% 0.134 286.9);
Tailwind
colors: {
  custom: {
    50: '#9e91d3',
    500: '#7166bf',
    950: '#000000',
  },
}
SCSS
$custom: #7166bf;
$custom-light: #9e91d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7166bf",
  "rgb": {
    "r": 113,
    "g": 102,
    "b": 191
  },
  "hsl": {
    "h": 247.416,
    "s": 41.014,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56199,
    "c": 0.13431,
    "h": 286.9
  },
  "luminance": 0.16775
}

Semantic roles & 50–950 ramp

primary
#7166BF
secondary
#CED2AE
accent
#D157C2
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0F0D14
muted
#7E7D83

Preview Lab

Preview with #7166BF

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

Preview Lab → · Contrast checker → · Palette generator →

#7166BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva