#6B6BEC#6B6BEC

#6B6BEC is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.6% C 0.190 H 279.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#6B6BEC
RGBrgb(107, 107, 236)
HSLhsl(240, 77%, 67%)
HSVhsv(240, 55%, 93%)
CMYKcmyk(54.7%, 54.7%, 0%, 7.5%)
CIE-LABlab(51.49, 35.55, -65.41)
CIE-LCHlch(51.49, 74.45, 298.53°)
OKLaboklab(59.61% 0.0296 -0.1873)
OKLCHoklch(59.61% 0.19 279)
XYZxyz(26.4567, 19.6956, 81.7481)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6BEC #ECEC6B
analogous
#6BACEC #6B6BEC #AC6BEC
triadic
#6B6BEC #EC6B6B #6BEC6B
tetradic
#6B6BEC #EC6BAC #ECEC6B #6BECAC
square
#6B6BEC #EC6BAC #ECEC6B #6BECAC
split-complementary
#6B6BEC #ECAC6B #ACEC6B
monochromatic
#1919C4 #3535E5 #6B6BEC #A1A1F3 #D7D7FA

Accessibility & contrast

On white

4.25
#6B6BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#6B6BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B6BEC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B6BEC#FFFFFF#000000##000000
##6B6BEC1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b6bec;
/* rgb */ color: rgb(107, 107, 236);
/* oklch */ color: oklch(59.6% 0.190 279.0);
Tailwind
colors: {
  custom: {
    50: '#9f95f3',
    500: '#6b6bec',
    950: '#000000',
  },
}
SCSS
$custom: #6b6bec;
$custom-light: #9f95f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6bec",
  "rgb": {
    "r": 107,
    "g": 107,
    "b": 236
  },
  "hsl": {
    "h": 240,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.59605,
    "c": 0.18963,
    "h": 279
  },
  "luminance": 0.19697
}

Semantic roles & 50–950 ramp

primary
#6B6BEC
secondary
#EEEEC5
accent
#D90CD9
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #6B6BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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