#6B87FA#6B87FA

#6B87FA is a light, vivid blue. Relative luminance 0.274; OKLCH L 65.8% C 0.173 H 270.7°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#6B87FA
RGBrgb(107, 135, 250)
HSLhsl(228, 93%, 70%)
HSVhsv(228, 57%, 98%)
CMYKcmyk(57.2%, 46%, 0%, 2%)
CIE-LABlab(59.30, 23.18, -60.62)
CIE-LCHlch(59.30, 64.90, 290.93°)
OKLaboklab(65.77% 0.0022 -0.173)
OKLCHoklch(65.77% 0.173 270.7)
XYZxyz(31.9770, 27.3534, 94.0186)
Luminance0.2736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B87FA #FADE6B
analogous
#6BCEFA #6B87FA #976BFA
triadic
#6B87FA #FA6B87 #87FA6B
tetradic
#6B87FA #FA6BCE #FADE6B #6BFA97
square
#6B87FA #FA6BCE #FADE6B #6BFA97
split-complementary
#6B87FA #FA976B #CEFA6B
monochromatic
#0833E3 #3057F8 #6B87FA #A6B7FC #E1E7FE

Accessibility & contrast

On white

3.25
#6B87FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#6B87FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B87FA
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B87FA#FFFFFF#000000##000000
##6B87FA1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5195FE
Deuteranopia (green-blind)
#3C89F8
Tritanopia (blue-blind)
#00A1B4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #6b87fa;
/* rgb */ color: rgb(107, 135, 250);
/* oklch */ color: oklch(65.8% 0.173 270.7);
Tailwind
colors: {
  custom: {
    50: '#a0a9fc',
    500: '#6b87fa',
    950: '#000000',
  },
}
SCSS
$custom: #6b87fa;
$custom-light: #a0a9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b87fa",
  "rgb": {
    "r": 107,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 228.252,
    "s": 93.464,
    "l": 70
  },
  "oklch": {
    "l": 0.65768,
    "c": 0.17297,
    "h": 270.7
  },
  "luminance": 0.27356
}

Semantic roles & 50–950 ramp

primary
#6B87FA
secondary
#F4EDCC
accent
#B900E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #6B87FA

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

Preview Lab → · Contrast checker → · Palette generator →

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