#7168BC#7168BC

#7168BC is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.4% C 0.127 H 286.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7168BC
RGBrgb(113, 104, 188)
HSLhsl(246, 39%, 57%)
HSVhsv(246, 45%, 74%)
CMYKcmyk(39.9%, 44.7%, 0%, 26.3%)
CIE-LABlab(48.31, 24.27, -43.17)
CIE-LCHlch(48.31, 49.52, 299.34°)
OKLaboklab(56.4% 0.036 -0.1219)
OKLCHoklch(56.4% 0.127 286.5)
XYZxyz(20.8349, 17.0415, 49.7588)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7168BC #B3BC68
analogous
#6889BC #7168BC #9B68BC
triadic
#7168BC #BC7168 #68BC71
tetradic
#7168BC #BC6889 #B3BC68 #68BC9B
square
#7168BC #BC6889 #B3BC68 #68BC9B
split-complementary
#7168BC #BC9B68 #89BC68
monochromatic
#3B3475 #5047A0 #7168BC #9992CF #C1BDE2

Accessibility & contrast

On white

4.76
#7168BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#7168BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7168BC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7168BC#FFFFFF#000000##FFFFFF
##7168BC1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A75BF
Deuteranopia (green-blind)
#4870BA
Tritanopia (blue-blind)
#5C7989
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7168bc;
/* rgb */ color: rgb(113, 104, 188);
/* oklch */ color: oklch(56.4% 0.127 286.5);
Tailwind
colors: {
  custom: {
    50: '#9d93d0',
    500: '#7168bc',
    950: '#000000',
  },
}
SCSS
$custom: #7168bc;
$custom-light: #9d93d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7168bc",
  "rgb": {
    "r": 113,
    "g": 104,
    "b": 188
  },
  "hsl": {
    "h": 246.429,
    "s": 38.532,
    "l": 57.255
  },
  "oklch": {
    "l": 0.564,
    "c": 0.12708,
    "h": 286.5
  },
  "luminance": 0.17042
}

Semantic roles & 50–950 ramp

primary
#7168BC
secondary
#CDD1AF
accent
#CE59C2
background
#F9F9FC
surface
#F2F1F9
border
#CCCBD2
text
#0F0D14
muted
#7E7E82

Preview Lab

Preview with #7168BC

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

Preview Lab → · Contrast checker → · Palette generator →

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