#6B87F2#6B87F2

#6B87F2 is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.3% C 0.162 H 270.4°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#6B87F2
RGBrgb(107, 135, 242)
HSLhsl(228, 84%, 68%)
HSVhsv(228, 56%, 95%)
CMYKcmyk(55.8%, 44.2%, 0%, 5.1%)
CIE-LABlab(58.85, 20.63, -56.93)
CIE-LCHlch(58.85, 60.56, 289.92°)
OKLaboklab(65.28% 0.001 -0.1621)
OKLCHoklch(65.28% 0.162 270.4)
XYZxyz(30.7491, 26.8622, 87.5518)
Luminance0.2686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B87F2 #F2D66B
analogous
#6BCAF2 #6B87F2 #926BF2
triadic
#6B87F2 #F26B87 #87F26B
tetradic
#6B87F2 #F26BCA #F2D66B #6BF292
square
#6B87F2 #F26BCA #F2D66B #6BF292
split-complementary
#6B87F2 #F2926B #CAF26B
monochromatic
#123AD0 #3359ED #6B87F2 #A3B5F7 #DCE2FC

Accessibility & contrast

On white

3.30
#6B87F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#6B87F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B87F2
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B87F2#FFFFFF#000000##000000
##6B87F21.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5794F6
Deuteranopia (green-blind)
#4588F0
Tritanopia (blue-blind)
#159FB1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6b87f2;
/* rgb */ color: rgb(107, 135, 242);
/* oklch */ color: oklch(65.3% 0.162 270.4);
Tailwind
colors: {
  custom: {
    50: '#9fa9f7',
    500: '#6b87f2',
    950: '#000000',
  },
}
SCSS
$custom: #6b87f2;
$custom-light: #9fa9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b87f2",
  "rgb": {
    "r": 107,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 227.556,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65276,
    "c": 0.16212,
    "h": 270.4
  },
  "luminance": 0.26865
}

Semantic roles & 50–950 ramp

primary
#6B87F2
secondary
#F1E8C8
accent
#B305E0
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6B87F2

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

Preview Lab → · Contrast checker → · Palette generator →

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