#6A87F5#6A87F5

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

Color values

HEX#6A87F5
RGBrgb(106, 135, 245)
HSLhsl(227, 87%, 69%)
HSVhsv(227, 57%, 96%)
CMYKcmyk(56.7%, 44.9%, 0%, 3.9%)
CIE-LABlab(58.96, 21.39, -58.42)
CIE-LCHlch(58.96, 62.21, 290.11°)
OKLaboklab(65.4% 0.0005 -0.1665)
OKLCHoklch(65.4% 0.167 270.2)
XYZxyz(31.0838, 26.9823, 89.9386)
Luminance0.2698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A87F5 #F5D86A
analogous
#6ACDF5 #6A87F5 #936AF5
triadic
#6A87F5 #F56A87 #87F56A
tetradic
#6A87F5 #F56ACD #F5D86A #6AF593
square
#6A87F5 #F56ACD #F5D86A #6AF593
split-complementary
#6A87F5 #F5936A #CDF56A
monochromatic
#0E38D6 #3159F1 #6A87F5 #A3B5F9 #DDE3FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A87F5#FFFFFF#000000##000000
##6A87F51.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)
#5594F9
Deuteranopia (green-blind)
#4188F3
Tritanopia (blue-blind)
#009FB2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6a87f5;
/* rgb */ color: rgb(106, 135, 245);
/* oklch */ color: oklch(65.4% 0.167 270.2);
Tailwind
colors: {
  custom: {
    50: '#9fa9f9',
    500: '#6a87f5',
    950: '#000000',
  },
}
SCSS
$custom: #6a87f5;
$custom-light: #9fa9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a87f5",
  "rgb": {
    "r": 106,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 227.482,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.654,
    "c": 0.1665,
    "h": 270.2
  },
  "luminance": 0.26985
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A87F5

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

Preview Lab → · Contrast checker → · Palette generator →

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