#6754CB#6754CB

#6754CB is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.9% C 0.177 H 286.0°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#6754CB
RGBrgb(103, 84, 203)
HSLhsl(250, 53%, 56%)
HSVhsv(250, 59%, 80%)
CMYKcmyk(49.3%, 58.6%, 0%, 20.4%)
CIE-LABlab(43.56, 38.38, -59.51)
CIE-LCHlch(43.56, 70.81, 302.82°)
OKLaboklab(52.94% 0.0487 -0.1702)
OKLCHoklch(52.94% 0.177 286)
XYZxyz(19.5402, 13.5351, 58.0713)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6754CB #B8CB54
analogous
#547DCB #6754CB #A354CB
triadic
#6754CB #CB6754 #54CB67
tetradic
#6754CB #CB547D #B8CB54 #54CBA3
square
#6754CB #CB547D #B8CB54 #54CBA3
split-complementary
#6754CB #CBA354 #7DCB54
monochromatic
#34267E #4835AD #6754CB #9183D9 #BAB2E8

Accessibility & contrast

On white

5.66
#6754CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#6754CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6754CB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6754CB#FFFFFF#000000##FFFFFF
##6754CB1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#436F87
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6754cb;
/* rgb */ color: rgb(103, 84, 203);
/* oklch */ color: oklch(52.9% 0.177 286.0);
Tailwind
colors: {
  custom: {
    50: '#9a85dc',
    500: '#6754cb',
    950: '#000000',
  },
}
SCSS
$custom: #6754cb;
$custom-light: #9a85dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6754cb",
  "rgb": {
    "r": 103,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 249.58,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52938,
    "c": 0.17701,
    "h": 286
  },
  "luminance": 0.13536
}

Semantic roles & 50–950 ramp

primary
#6754CB
secondary
#CED6A5
accent
#DD4BC5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83

Preview Lab

Preview with #6754CB

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

Preview Lab → · Contrast checker → · Palette generator →

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