#6987F8#6987F8

#6987F8 is a light, vivid blue. Relative luminance 0.271; OKLCH L 65.5% C 0.171 H 270.0°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#6987F8
RGBrgb(105, 135, 248)
HSLhsl(227, 91%, 69%)
HSVhsv(227, 58%, 97%)
CMYKcmyk(57.7%, 45.6%, 0%, 2.7%)
CIE-LABlab(59.07, 22.16, -59.89)
CIE-LCHlch(59.07, 63.86, 290.30°)
OKLaboklab(65.53% -0.0001 -0.1708)
OKLCHoklch(65.53% 0.171 270)
XYZxyz(31.4273, 27.1060, 92.3646)
Luminance0.2711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6987F8 #F8DA69
analogous
#69CEF8 #6987F8 #9369F8
triadic
#6987F8 #F86987 #87F869
tetradic
#6987F8 #F869CE #F8DA69 #69F893
square
#6987F8 #F869CE #F8DA69 #69F893
split-complementary
#6987F8 #F89369 #CEF869
monochromatic
#0A36DC #2F58F5 #6987F8 #A3B6FB #DEE5FD

Accessibility & contrast

On white

3.27
#6987F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#6987F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6987F8
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6987F8#FFFFFF#000000##000000
##6987F81.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5295FC
Deuteranopia (green-blind)
#3D88F6
Tritanopia (blue-blind)
#00A0B3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6987f8;
/* rgb */ color: rgb(105, 135, 248);
/* oklch */ color: oklch(65.5% 0.171 270.0);
Tailwind
colors: {
  custom: {
    50: '#9ea9fb',
    500: '#6987f8',
    950: '#000000',
  },
}
SCSS
$custom: #6987f8;
$custom-light: #9ea9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#6987f8",
  "rgb": {
    "r": 105,
    "g": 135,
    "b": 248
  },
  "hsl": {
    "h": 227.413,
    "s": 91.083,
    "l": 69.216
  },
  "oklch": {
    "l": 0.65528,
    "c": 0.17085,
    "h": 270
  },
  "luminance": 0.27109
}

Semantic roles & 50–950 ramp

primary
#6987F8
secondary
#F3EACA
accent
#B500E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6987F8

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

Preview Lab → · Contrast checker → · Palette generator →

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