#7168DC#7168DC

#7168DC is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.4% C 0.171 H 283.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7168DC
RGBrgb(113, 104, 220)
HSLhsl(245, 62%, 64%)
HSVhsv(245, 53%, 86%)
CMYKcmyk(48.6%, 52.7%, 0%, 13.7%)
CIE-LABlab(50.19, 33.67, -58.48)
CIE-LCHlch(50.19, 67.48, 299.93°)
OKLaboklab(58.42% 0.0392 -0.1668)
OKLCHoklch(58.42% 0.171 283.2)
XYZxyz(24.6748, 18.5774, 69.9819)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7168DC #D3DC68
analogous
#6899DC #7168DC #AB68DC
triadic
#7168DC #DC7168 #68DC71
tetradic
#7168DC #DC6899 #D3DC68 #68DCAB
square
#7168DC #DC6899 #D3DC68 #68DCAB
split-complementary
#7168DC #DCAB68 #99DC68
monochromatic
#3026A4 #4236D0 #7168DC #A09AE8 #CECBF3

Accessibility & contrast

On white

4.45
#7168DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7168DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7168DC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7168DC#FFFFFF#000000##000000
##7168DC1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7BE0
Deuteranopia (green-blind)
#2374D9
Tritanopia (blue-blind)
#4A8298
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7168dc;
/* rgb */ color: rgb(113, 104, 220);
/* oklch */ color: oklch(58.4% 0.171 283.2);
Tailwind
colors: {
  custom: {
    50: '#a193e7',
    500: '#7168dc',
    950: '#000000',
  },
}
SCSS
$custom: #7168dc;
$custom-light: #a193e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7168dc",
  "rgb": {
    "r": 113,
    "g": 104,
    "b": 220
  },
  "hsl": {
    "h": 244.655,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58417,
    "c": 0.17133,
    "h": 283.2
  },
  "luminance": 0.18579
}

Semantic roles & 50–950 ramp

primary
#7168DC
secondary
#E1E4BB
accent
#CA1BBD
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #7168DC

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

Preview Lab → · Contrast checker → · Palette generator →

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