#6C7DEC#6C7DEC

#6C7DEC is a light, vivid blue. Relative luminance 0.239; OKLCH L 63.0% C 0.166 H 274.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#6C7DEC
RGBrgb(108, 125, 236)
HSLhsl(232, 77%, 67%)
HSVhsv(232, 54%, 93%)
CMYKcmyk(54.2%, 47%, 0%, 7.5%)
CIE-LABlab(56.00, 24.93, -58.16)
CIE-LCHlch(56.00, 63.28, 293.20°)
OKLaboklab(63.01% 0.0119 -0.1658)
OKLCHoklch(63.01% 0.166 274.1)
XYZxyz(28.6534, 23.9095, 82.4457)
Luminance0.2391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7DEC #ECDB6C
analogous
#6CBDEC #6C7DEC #9B6CEC
triadic
#6C7DEC #EC6C7D #7DEC6C
tetradic
#6C7DEC #EC6CBD #ECDB6C #6CEC9B
square
#6C7DEC #EC6CBD #ECDB6C #6CEC9B
split-complementary
#6C7DEC #EC9B6C #BDEC6C
monochromatic
#1930C4 #364DE5 #6C7DEC #A2ADF3 #D8DDFA

Accessibility & contrast

On white

3.63
#6C7DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#6C7DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C7DEC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7DEC#FFFFFF#000000##000000
##6C7DEC1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#498CF0
Deuteranopia (green-blind)
#3981EA
Tritanopia (blue-blind)
#2996A9
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #6c7dec;
/* rgb */ color: rgb(108, 125, 236);
/* oklch */ color: oklch(63.0% 0.166 274.1);
Tailwind
colors: {
  custom: {
    50: '#9fa2f3',
    500: '#6c7dec',
    950: '#000000',
  },
}
SCSS
$custom: #6c7dec;
$custom-light: #9fa2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7dec",
  "rgb": {
    "r": 108,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 232.031,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.63011,
    "c": 0.16623,
    "h": 274.1
  },
  "luminance": 0.23912
}

Semantic roles & 50–950 ramp

primary
#6C7DEC
secondary
#EEE9C6
accent
#BE0CD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #6C7DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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