#6987FA#6987FA

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

Color values

HEX#6987FA
RGBrgb(105, 135, 250)
HSLhsl(228, 94%, 70%)
HSVhsv(228, 58%, 98%)
CMYKcmyk(58%, 46%, 0%, 2%)
CIE-LABlab(59.19, 22.80, -60.81)
CIE-LCHlch(59.19, 64.94, 290.56°)
OKLaboklab(65.65% 0.0002 -0.1735)
OKLCHoklch(65.65% 0.174 270.1)
XYZxyz(31.7392, 27.2308, 94.0075)
Luminance0.2723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6987FA #FADC69
analogous
#69D0FA #6987FA #9469FA
triadic
#6987FA #FA6987 #87FA69
tetradic
#6987FA #FA69D0 #FADC69 #69FA94
square
#6987FA #FA69D0 #FADC69 #69FA94
split-complementary
#6987FA #FA9469 #D0FA69
monochromatic
#0835E1 #2E58F8 #6987FA #A4B6FC #DFE6FE

Accessibility & contrast

On white

3.26
#6987FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#6987FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6987FA
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6987FA#FFFFFF#000000##000000
##6987FA1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5095FE
Deuteranopia (green-blind)
#3A88F8
Tritanopia (blue-blind)
#00A1B4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6987fa;
/* rgb */ color: rgb(105, 135, 250);
/* oklch */ color: oklch(65.7% 0.174 270.1);
Tailwind
colors: {
  custom: {
    50: '#9fa9fc',
    500: '#6987fa',
    950: '#000000',
  },
}
SCSS
$custom: #6987fa;
$custom-light: #9fa9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#6987fa",
  "rgb": {
    "r": 105,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 227.586,
    "s": 93.548,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65653,
    "c": 0.17355,
    "h": 270.1
  },
  "luminance": 0.27233
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6987FA

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

Preview Lab → · Contrast checker → · Palette generator →

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