#6754E8#6754E8

#6754E8 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 55.2% C 0.214 H 282.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#6754E8
RGBrgb(103, 84, 232)
HSLhsl(248, 76%, 62%)
HSVhsv(248, 64%, 91%)
CMYKcmyk(55.6%, 63.8%, 0%, 9%)
CIE-LABlab(45.70, 47.08, -72.58)
CIE-LCHlch(45.70, 86.51, 302.97°)
OKLaboklab(55.18% 0.0469 -0.2086)
OKLCHoklch(55.18% 0.214 282.7)
XYZxyz(23.3248, 15.0490, 78.0039)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6754E8 #D5E854
analogous
#548BE8 #6754E8 #B154E8
triadic
#6754E8 #E86754 #54E867
tetradic
#6754E8 #E8548B #D5E854 #54E8B1
square
#6754E8 #E8548B #D5E854 #54E8B1
split-complementary
#6754E8 #E8B154 #8BE854
monochromatic
#2A17AB #371EE1 #6754E8 #978AEF #C7C0F7

Accessibility & contrast

On white

5.24
#6754E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#6754E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6754E8
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6754E8#FFFFFF#000000##FFFFFF
##6754E81.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#0067E5
Tritanopia (blue-blind)
#267996
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6754e8;
/* rgb */ color: rgb(103, 84, 232);
/* oklch */ color: oklch(55.2% 0.214 282.7);
Tailwind
colors: {
  custom: {
    50: '#9e85f0',
    500: '#6754e8',
    950: '#000000',
  },
}
SCSS
$custom: #6754e8;
$custom-light: #9e85f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6754e8",
  "rgb": {
    "r": 103,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 247.703,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55177,
    "c": 0.2138,
    "h": 282.7
  },
  "luminance": 0.1505
}

Semantic roles & 50–950 ramp

primary
#6754E8
secondary
#E0E7B1
accent
#D80DBE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6754E8

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

Preview Lab → · Contrast checker → · Palette generator →

#6754E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva