#6B87F5#6B87F5

#6B87F5 is a light, vivid blue. Relative luminance 0.270; OKLCH L 65.5% C 0.166 H 270.5°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#6B87F5
RGBrgb(107, 135, 245)
HSLhsl(228, 87%, 69%)
HSVhsv(228, 56%, 96%)
CMYKcmyk(56.3%, 44.9%, 0%, 3.9%)
CIE-LABlab(59.01, 21.58, -58.32)
CIE-LCHlch(59.01, 62.19, 290.31°)
OKLaboklab(65.46% 0.0015 -0.1662)
OKLCHoklch(65.46% 0.166 270.5)
XYZxyz(31.2034, 27.0439, 89.9442)
Luminance0.2705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B87F5 #F5D96B
analogous
#6BCCF5 #6B87F5 #946BF5
triadic
#6B87F5 #F56B87 #87F56B
tetradic
#6B87F5 #F56BCC #F5D96B #6BF594
square
#6B87F5 #F56BCC #F5D96B #6BF594
split-complementary
#6B87F5 #F5946B #CCF56B
monochromatic
#0F37D7 #3259F1 #6B87F5 #A4B5F9 #DEE4FD

Accessibility & contrast

On white

3.28
#6B87F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#6B87F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B87F5
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B87F5#FFFFFF#000000##000000
##6B87F51.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5594F9
Deuteranopia (green-blind)
#4288F3
Tritanopia (blue-blind)
#099FB2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6b87f5;
/* rgb */ color: rgb(107, 135, 245);
/* oklch */ color: oklch(65.5% 0.166 270.5);
Tailwind
colors: {
  custom: {
    50: '#9fa9f9',
    500: '#6b87f5',
    950: '#000000',
  },
}
SCSS
$custom: #6b87f5;
$custom-light: #9fa9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b87f5",
  "rgb": {
    "r": 107,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 227.826,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.65459,
    "c": 0.16621,
    "h": 270.5
  },
  "luminance": 0.27046
}

Semantic roles & 50–950 ramp

primary
#6B87F5
secondary
#F2EACA
accent
#B602E4
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6B87F5

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

Preview Lab → · Contrast checker → · Palette generator →

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