#7168BF#7168BF

#7168BF is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.6% C 0.131 H 286.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7168BF
RGBrgb(113, 104, 191)
HSLhsl(246, 40%, 58%)
HSVhsv(246, 46%, 75%)
CMYKcmyk(40.8%, 45.5%, 0%, 25.1%)
CIE-LABlab(48.48, 25.13, -44.64)
CIE-LCHlch(48.48, 51.23, 299.38°)
OKLaboklab(56.58% 0.0365 -0.1262)
OKLCHoklch(56.58% 0.131 286.1)
XYZxyz(21.1617, 17.1722, 51.4797)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7168BF #B6BF68
analogous
#688ABF #7168BF #9C68BF
triadic
#7168BF #BF7168 #68BF71
tetradic
#7168BF #BF688A #B6BF68 #68BF9C
square
#7168BF #BF688A #B6BF68 #68BF9C
split-complementary
#7168BF #BF9C68 #8ABF68
monochromatic
#3B3379 #4F46A4 #7168BF #9993D1 #C2BEE3

Accessibility & contrast

On white

4.74
#7168BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7168BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7168BF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7168BF#FFFFFF#000000##FFFFFF
##7168BF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4875C2
Deuteranopia (green-blind)
#4671BD
Tritanopia (blue-blind)
#5B798A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7168bf;
/* rgb */ color: rgb(113, 104, 191);
/* oklch */ color: oklch(56.6% 0.131 286.1);
Tailwind
colors: {
  custom: {
    50: '#9d93d3',
    500: '#7168bf',
    950: '#000000',
  },
}
SCSS
$custom: #7168bf;
$custom-light: #9d93d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7168bf",
  "rgb": {
    "r": 113,
    "g": 104,
    "b": 191
  },
  "hsl": {
    "h": 246.207,
    "s": 40.465,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56578,
    "c": 0.13134,
    "h": 286.1
  },
  "luminance": 0.17173
}

Semantic roles & 50–950 ramp

primary
#7168BF
secondary
#CFD3B0
accent
#D057C4
background
#F9F9FD
surface
#F2F1FA
border
#CCCBD3
text
#0F0D14
muted
#7E7E83

Preview Lab

Preview with #7168BF

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

Preview Lab → · Contrast checker → · Palette generator →

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