#6A87F1#6A87F1

#6A87F1 is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.2% C 0.161 H 270.0°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#6A87F1
RGBrgb(106, 135, 241)
HSLhsl(227, 83%, 68%)
HSVhsv(227, 56%, 95%)
CMYKcmyk(56%, 44%, 0%, 5.5%)
CIE-LABlab(58.73, 20.11, -56.56)
CIE-LCHlch(58.73, 60.03, 289.57°)
OKLaboklab(65.16% -0.0001 -0.1611)
OKLCHoklch(65.16% 0.161 270)
XYZxyz(30.4798, 26.7407, 86.7573)
Luminance0.2674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A87F1 #F1D46A
analogous
#6ACAF1 #6A87F1 #906AF1
triadic
#6A87F1 #F16A87 #87F16A
tetradic
#6A87F1 #F16ACA #F1D46A #6AF190
square
#6A87F1 #F16ACA #F1D46A #6AF190
split-complementary
#6A87F1 #F1906A #CAF16A
monochromatic
#133BCD #325AEC #6A87F1 #A2B4F6 #DAE1FC

Accessibility & contrast

On white

3.31
#6A87F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#6A87F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A87F1
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A87F1#FFFFFF#000000##000000
##6A87F11.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5894F5
Deuteranopia (green-blind)
#4688EF
Tritanopia (blue-blind)
#109EB0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6a87f1;
/* rgb */ color: rgb(106, 135, 241);
/* oklch */ color: oklch(65.2% 0.161 270.0);
Tailwind
colors: {
  custom: {
    50: '#9ea9f6',
    500: '#6a87f1',
    950: '#000000',
  },
}
SCSS
$custom: #6a87f1;
$custom-light: #9ea9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a87f1",
  "rgb": {
    "r": 106,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 227.111,
    "s": 82.822,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65156,
    "c": 0.16106,
    "h": 270
  },
  "luminance": 0.26743
}

Semantic roles & 50–950 ramp

primary
#6A87F1
secondary
#F0E7C7
accent
#B106DF
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6A87F1

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

Preview Lab → · Contrast checker → · Palette generator →

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