#6B87F4#6B87F4

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

Color values

HEX#6B87F4
RGBrgb(107, 135, 244)
HSLhsl(228, 86%, 69%)
HSVhsv(228, 56%, 96%)
CMYKcmyk(56.1%, 44.7%, 0%, 4.3%)
CIE-LABlab(58.96, 21.27, -57.86)
CIE-LCHlch(58.96, 61.64, 290.18°)
OKLaboklab(65.4% 0.0013 -0.1648)
OKLCHoklch(65.4% 0.165 270.5)
XYZxyz(31.0511, 26.9831, 89.1424)
Luminance0.2698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B87F4 #F4D86B
analogous
#6BCCF4 #6B87F4 #946BF4
triadic
#6B87F4 #F46B87 #87F46B
tetradic
#6B87F4 #F46BCC #F4D86B #6BF494
square
#6B87F4 #F46BCC #F4D86B #6BF494
split-complementary
#6B87F4 #F4946B #CCF46B
monochromatic
#1038D5 #3259F0 #6B87F4 #A4B5F8 #DDE3FC

Accessibility & contrast

On white

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

On black

6.40
#6B87F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B87F4
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B87F4#FFFFFF#000000##000000
##6B87F41.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5694F8
Deuteranopia (green-blind)
#4388F2
Tritanopia (blue-blind)
#0E9FB2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6b87f4;
/* rgb */ color: rgb(107, 135, 244);
/* oklch */ color: oklch(65.4% 0.165 270.5);
Tailwind
colors: {
  custom: {
    50: '#9fa9f8',
    500: '#6b87f4',
    950: '#000000',
  },
}
SCSS
$custom: #6b87f4;
$custom-light: #9fa9f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b87f4",
  "rgb": {
    "r": 107,
    "g": 135,
    "b": 244
  },
  "hsl": {
    "h": 227.737,
    "s": 86.164,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65398,
    "c": 0.16485,
    "h": 270.5
  },
  "luminance": 0.26985
}

Semantic roles & 50–950 ramp

primary
#6B87F4
secondary
#F2E9C9
accent
#B503E3
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6B87F4

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

Preview Lab → · Contrast checker → · Palette generator →

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