#6B87EA#6B87EA

#6B87EA is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.8% C 0.151 H 269.9°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#6B87EA
RGBrgb(107, 135, 234)
HSLhsl(227, 75%, 67%)
HSVhsv(227, 54%, 92%)
CMYKcmyk(54.3%, 42.3%, 0%, 8.2%)
CIE-LABlab(58.41, 18.09, -53.20)
CIE-LCHlch(58.41, 56.19, 288.78°)
OKLaboklab(64.8% -0.0003 -0.1512)
OKLCHoklch(64.8% 0.151 269.9)
XYZxyz(29.5738, 26.3921, 81.3617)
Luminance0.2639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B87EA #EACE6B
analogous
#6BC6EA #6B87EA #8F6BEA
triadic
#6B87EA #EA6B87 #87EA6B
tetradic
#6B87EA #EA6BC6 #EACE6B #6BEA8F
square
#6B87EA #EA6BC6 #EACE6B #6BEA8F
split-complementary
#6B87EA #EA8F6B #C6EA6B
monochromatic
#1B3FBF #355CE2 #6B87EA #A1B2F2 #D6DEF9

Accessibility & contrast

On white

3.34
#6B87EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#6B87EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B87EA
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B87EA#FFFFFF#000000##000000
##6B87EA1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D92EE
Deuteranopia (green-blind)
#4D87E8
Tritanopia (blue-blind)
#259DAD
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #6b87ea;
/* rgb */ color: rgb(107, 135, 234);
/* oklch */ color: oklch(64.8% 0.151 269.9);
Tailwind
colors: {
  custom: {
    50: '#9ea9f1',
    500: '#6b87ea',
    950: '#000000',
  },
}
SCSS
$custom: #6b87ea;
$custom-light: #9ea9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b87ea",
  "rgb": {
    "r": 107,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 226.772,
    "s": 75.148,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64797,
    "c": 0.15117,
    "h": 269.9
  },
  "luminance": 0.26394
}

Semantic roles & 50–950 ramp

primary
#6B87EA
secondary
#EDE4C4
accent
#AB0ED7
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6B87EA

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

Preview Lab → · Contrast checker → · Palette generator →

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