#6A87FB#6A87FB

#6A87FB is a light, vivid blue. Relative luminance 0.274; OKLCH L 65.8% C 0.175 H 270.4°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#6A87FB
RGBrgb(106, 135, 251)
HSLhsl(228, 95%, 70%)
HSVhsv(228, 58%, 98%)
CMYKcmyk(57.8%, 46.2%, 0%, 1.6%)
CIE-LABlab(59.30, 23.31, -61.17)
CIE-LCHlch(59.30, 65.47, 290.86°)
OKLaboklab(65.77% 0.0013 -0.1746)
OKLCHoklch(65.77% 0.175 270.4)
XYZxyz(32.0146, 27.3546, 94.8410)
Luminance0.2736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A87FB #FBDE6A
analogous
#6ACFFB #6A87FB #966AFB
triadic
#6A87FB #FB6A87 #87FB6A
tetradic
#6A87FB #FB6ACF #FBDE6A #6AFB96
square
#6A87FB #FB6ACF #FBDE6A #6AFB96
split-complementary
#6A87FB #FB966A #CFFB6A
monochromatic
#0633E4 #2E57F9 #6A87FB #A6B7FD #E1E7FE

Accessibility & contrast

On white

3.25
#6A87FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#6A87FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A87FB
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A87FB#FFFFFF#000000##000000
##6A87FB1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5095FF
Deuteranopia (green-blind)
#3989F9
Tritanopia (blue-blind)
#00A1B5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #6a87fb;
/* rgb */ color: rgb(106, 135, 251);
/* oklch */ color: oklch(65.8% 0.175 270.4);
Tailwind
colors: {
  custom: {
    50: '#9fa9fd',
    500: '#6a87fb',
    950: '#000000',
  },
}
SCSS
$custom: #6a87fb;
$custom-light: #9fa9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a87fb",
  "rgb": {
    "r": 106,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 228,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.65773,
    "c": 0.1746,
    "h": 270.4
  },
  "luminance": 0.27357
}

Semantic roles & 50–950 ramp

primary
#6A87FB
secondary
#F5EDCC
accent
#B800E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #6A87FB

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

Preview Lab → · Contrast checker → · Palette generator →

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