#6B87F1#6B87F1

#6B87F1 is a light, vivid blue. Relative luminance 0.268; OKLCH L 65.2% C 0.161 H 270.3°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#6B87F1
RGBrgb(107, 135, 241)
HSLhsl(227, 83%, 68%)
HSVhsv(227, 56%, 95%)
CMYKcmyk(55.6%, 44%, 0%, 5.5%)
CIE-LABlab(58.79, 20.31, -56.47)
CIE-LCHlch(58.79, 60.01, 289.78°)
OKLaboklab(65.22% 0.0009 -0.1608)
OKLCHoklch(65.22% 0.161 270.3)
XYZxyz(30.5993, 26.8023, 86.7629)
Luminance0.2681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B87F1 #F1D56B
analogous
#6BCAF1 #6B87F1 #926BF1
triadic
#6B87F1 #F16B87 #87F16B
tetradic
#6B87F1 #F16BCA #F1D56B #6BF192
square
#6B87F1 #F16BCA #F1D56B #6BF192
split-complementary
#6B87F1 #F1926B #CAF16B
monochromatic
#133ACE #335AEC #6B87F1 #A3B4F6 #DBE2FC

Accessibility & contrast

On white

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

On black

6.36
#6B87F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B87F1
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B87F1#FFFFFF#000000##000000
##6B87F11.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5894F5
Deuteranopia (green-blind)
#4688EF
Tritanopia (blue-blind)
#179EB0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6b87f1;
/* rgb */ color: rgb(107, 135, 241);
/* oklch */ color: oklch(65.2% 0.161 270.3);
Tailwind
colors: {
  custom: {
    50: '#9fa9f6',
    500: '#6b87f1',
    950: '#000000',
  },
}
SCSS
$custom: #6b87f1;
$custom-light: #9fa9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b87f1",
  "rgb": {
    "r": 107,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 227.463,
    "s": 82.716,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65215,
    "c": 0.16076,
    "h": 270.3
  },
  "luminance": 0.26805
}

Semantic roles & 50–950 ramp

primary
#6B87F1
secondary
#F0E8C8
accent
#B206DF
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6B87F1

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

Preview Lab → · Contrast checker → · Palette generator →

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