#6B6CE5#6B6CE5

#6B6CE5 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.3% C 0.179 H 279.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#6B6CE5
RGBrgb(107, 108, 229)
HSLhsl(240, 70%, 66%)
HSVhsv(240, 53%, 90%)
CMYKcmyk(53.3%, 52.8%, 0%, 10.2%)
CIE-LABlab(51.27, 32.78, -61.83)
CIE-LCHlch(51.27, 69.98, 297.93°)
OKLaboklab(59.3% 0.0283 -0.1768)
OKLCHoklch(59.3% 0.179 279.1)
XYZxyz(25.5644, 19.5065, 76.5316)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6CE5 #E5E46B
analogous
#6BA9E5 #6B6CE5 #A76BE5
triadic
#6B6CE5 #E56B6C #6CE56B
tetradic
#6B6CE5 #E56BA9 #E5E46B #6BE5A7
square
#6B6CE5 #E56BA9 #E5E46B #6BE5A7
split-complementary
#6B6CE5 #E5A76B #A9E56B
monochromatic
#2021B6 #3738DC #6B6CE5 #9FA0EE #D3D3F7

Accessibility & contrast

On white

4.28
#6B6CE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#6B6CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B6CE5
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B6CE5#FFFFFF#000000##000000
##6B6CE51.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#267FE9
Deuteranopia (green-blind)
#0E75E2
Tritanopia (blue-blind)
#33879E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6b6ce5;
/* rgb */ color: rgb(107, 108, 229);
/* oklch */ color: oklch(59.3% 0.179 279.1);
Tailwind
colors: {
  custom: {
    50: '#9e96ee',
    500: '#6b6ce5',
    950: '#000000',
  },
}
SCSS
$custom: #6b6ce5;
$custom-light: #9e96ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6ce5",
  "rgb": {
    "r": 107,
    "g": 108,
    "b": 229
  },
  "hsl": {
    "h": 239.508,
    "s": 70.115,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59297,
    "c": 0.17901,
    "h": 279.1
  },
  "luminance": 0.19508
}

Semantic roles & 50–950 ramp

primary
#6B6CE5
secondary
#EAEAC2
accent
#D113D2
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #6B6CE5

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

Preview Lab → · Contrast checker → · Palette generator →

#6B6CE5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva