#6D87F2#6D87F2

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

Color values

HEX#6D87F2
RGBrgb(109, 135, 242)
HSLhsl(228, 84%, 69%)
HSVhsv(228, 55%, 95%)
CMYKcmyk(55%, 44.2%, 0%, 5.1%)
CIE-LABlab(58.96, 21.03, -56.74)
CIE-LCHlch(58.96, 60.51, 290.34°)
OKLaboklab(65.4% 0.003 -0.1615)
OKLCHoklch(65.4% 0.162 271.1)
XYZxyz(30.9924, 26.9877, 87.5632)
Luminance0.2699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D87F2 #F2D86D
analogous
#6DCAF2 #6D87F2 #966DF2
triadic
#6D87F2 #F26D87 #87F26D
tetradic
#6D87F2 #F26DCA #F2D86D #6DF296
square
#6D87F2 #F26DCA #F2D86D #6DF296
split-complementary
#6D87F2 #F2966D #CAF26D
monochromatic
#1338D2 #3559ED #6D87F2 #A5B5F7 #DDE3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D87F2#FFFFFF#000000##000000
##6D87F21.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)
#5794F6
Deuteranopia (green-blind)
#4788F0
Tritanopia (blue-blind)
#209FB1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6d87f2;
/* rgb */ color: rgb(109, 135, 242);
/* oklch */ color: oklch(65.4% 0.162 271.1);
Tailwind
colors: {
  custom: {
    50: '#a0a9f7',
    500: '#6d87f2',
    950: '#000000',
  },
}
SCSS
$custom: #6d87f2;
$custom-light: #a0a9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d87f2",
  "rgb": {
    "r": 109,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 228.271,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65395,
    "c": 0.16155,
    "h": 271.1
  },
  "luminance": 0.2699
}

Semantic roles & 50–950 ramp

primary
#6D87F2
secondary
#F1E9CA
accent
#B505E0
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6D87F2

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

Preview Lab → · Contrast checker → · Palette generator →

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