#6987FB#6987FB

#6987FB is a light, vivid blue. Relative luminance 0.273; OKLCH L 65.7% C 0.175 H 270.1°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#6987FB
RGBrgb(105, 135, 251)
HSLhsl(228, 95%, 70%)
HSVhsv(228, 58%, 98%)
CMYKcmyk(58.2%, 46.2%, 0%, 1.6%)
CIE-LABlab(59.25, 23.13, -61.27)
CIE-LCHlch(59.25, 65.49, 290.68°)
OKLaboklab(65.72% 0.0003 -0.1749)
OKLCHoklch(65.72% 0.175 270.1)
XYZxyz(31.8964, 27.2937, 94.8354)
Luminance0.2730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6987FB #FBDD69
analogous
#69D0FB #6987FB #9469FB
triadic
#6987FB #FB6987 #87FB69
tetradic
#6987FB #FB69D0 #FBDD69 #69FB94
square
#6987FB #FB69D0 #FBDD69 #69FB94
split-complementary
#6987FB #FB9469 #D0FB69
monochromatic
#0634E4 #2D57F9 #6987FB #A5B7FD #E0E6FE

Accessibility & contrast

On white

3.25
#6987FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#6987FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6987FB
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6987FB#FFFFFF#000000##000000
##6987FB1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6987fb;
/* rgb */ color: rgb(105, 135, 251);
/* oklch */ color: oklch(65.7% 0.175 270.1);
Tailwind
colors: {
  custom: {
    50: '#9fa9fd',
    500: '#6987fb',
    950: '#000000',
  },
}
SCSS
$custom: #6987fb;
$custom-light: #9fa9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#6987fb",
  "rgb": {
    "r": 105,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 227.671,
    "s": 94.805,
    "l": 69.804
  },
  "oklch": {
    "l": 0.65715,
    "c": 0.1749,
    "h": 270.1
  },
  "luminance": 0.27296
}

Semantic roles & 50–950 ramp

primary
#6987FB
secondary
#F5ECCB
accent
#B600E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #6987FB

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

Preview Lab → · Contrast checker → · Palette generator →

#6987FB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva