#6B6CEC#6B6CEC

#6B6CEC is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.8% C 0.188 H 278.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#6B6CEC
RGBrgb(107, 108, 236)
HSLhsl(240, 77%, 67%)
HSVhsv(240, 55%, 93%)
CMYKcmyk(54.7%, 54.2%, 0%, 7.5%)
CIE-LABlab(51.73, 34.96, -65.03)
CIE-LCHlch(51.73, 73.83, 298.26°)
OKLaboklab(59.78% 0.0286 -0.1862)
OKLCHoklch(59.78% 0.188 278.7)
XYZxyz(26.5615, 19.9053, 81.7831)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6CEC #ECEB6B
analogous
#6BADEC #6B6CEC #AB6BEC
triadic
#6B6CEC #EC6B6C #6CEC6B
tetradic
#6B6CEC #EC6BAD #ECEB6B #6BECAB
square
#6B6CEC #EC6BAD #ECEB6B #6BECAB
split-complementary
#6B6CEC #ECAB6B #ADEC6B
monochromatic
#191AC4 #3536E5 #6B6CEC #A1A2F3 #D7D8FA

Accessibility & contrast

On white

4.22
#6B6CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#6B6CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B6CEC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B6CEC#FFFFFF#000000##000000
##6B6CEC1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1781F0
Deuteranopia (green-blind)
#0076E9
Tritanopia (blue-blind)
#2A89A2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6b6cec;
/* rgb */ color: rgb(107, 108, 236);
/* oklch */ color: oklch(59.8% 0.188 278.7);
Tailwind
colors: {
  custom: {
    50: '#9f96f3',
    500: '#6b6cec',
    950: '#000000',
  },
}
SCSS
$custom: #6b6cec;
$custom-light: #9f96f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6cec",
  "rgb": {
    "r": 107,
    "g": 108,
    "b": 236
  },
  "hsl": {
    "h": 239.535,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.59783,
    "c": 0.18835,
    "h": 278.7
  },
  "luminance": 0.19907
}

Semantic roles & 50–950 ramp

primary
#6B6CEC
secondary
#EEEDC5
accent
#D80CD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #6B6CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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