#6A87F3#6A87F3

#6A87F3 is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.3% C 0.164 H 270.1°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#6A87F3
RGBrgb(106, 135, 243)
HSLhsl(227, 85%, 68%)
HSVhsv(227, 56%, 95%)
CMYKcmyk(56.4%, 44.4%, 0%, 4.7%)
CIE-LABlab(58.85, 20.75, -57.49)
CIE-LCHlch(58.85, 61.12, 289.84°)
OKLaboklab(65.28% 0.0002 -0.1638)
OKLCHoklch(65.28% 0.164 270.1)
XYZxyz(30.7801, 26.8608, 88.3393)
Luminance0.2686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A87F3 #F3D66A
analogous
#6ACBF3 #6A87F3 #916AF3
triadic
#6A87F3 #F36A87 #87F36A
tetradic
#6A87F3 #F36ACB #F3D66A #6AF391
square
#6A87F3 #F36ACB #F3D66A #6AF391
split-complementary
#6A87F3 #F3916A #CBF36A
monochromatic
#113AD2 #3159EE #6A87F3 #A3B5F8 #DBE2FC

Accessibility & contrast

On white

3.30
#6A87F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#6A87F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A87F3
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A87F3#FFFFFF#000000##000000
##6A87F31.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5694F7
Deuteranopia (green-blind)
#4488F1
Tritanopia (blue-blind)
#079FB1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6a87f3;
/* rgb */ color: rgb(106, 135, 243);
/* oklch */ color: oklch(65.3% 0.164 270.1);
Tailwind
colors: {
  custom: {
    50: '#9ea9f8',
    500: '#6a87f3',
    950: '#000000',
  },
}
SCSS
$custom: #6a87f3;
$custom-light: #9ea9f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a87f3",
  "rgb": {
    "r": 106,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 227.299,
    "s": 85.093,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65278,
    "c": 0.16378,
    "h": 270.1
  },
  "luminance": 0.26863
}

Semantic roles & 50–950 ramp

primary
#6A87F3
secondary
#F1E8C8
accent
#B304E2
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6A87F3

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

Preview Lab → · Contrast checker → · Palette generator →

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