#6A87F4#6A87F4

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

Color values

HEX#6A87F4
RGBrgb(106, 135, 244)
HSLhsl(227, 86%, 69%)
HSVhsv(227, 57%, 96%)
CMYKcmyk(56.6%, 44.7%, 0%, 4.3%)
CIE-LABlab(58.90, 21.07, -57.95)
CIE-LCHlch(58.90, 61.67, 289.98°)
OKLaboklab(65.34% 0.0003 -0.1651)
OKLCHoklch(65.34% 0.165 270.1)
XYZxyz(30.9315, 26.9214, 89.1368)
Luminance0.2692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A87F4 #F4D76A
analogous
#6ACCF4 #6A87F4 #926AF4
triadic
#6A87F4 #F46A87 #87F46A
tetradic
#6A87F4 #F46ACC #F4D76A #6AF492
square
#6A87F4 #F46ACC #F4D76A #6AF492
split-complementary
#6A87F4 #F4926A #CCF46A
monochromatic
#1039D4 #3159F0 #6A87F4 #A3B5F8 #DCE3FC

Accessibility & contrast

On white

3.29
#6A87F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#6A87F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A87F4
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A87F4#FFFFFF#000000##000000
##6A87F41.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5594F8
Deuteranopia (green-blind)
#4288F2
Tritanopia (blue-blind)
#029FB2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6a87f4;
/* rgb */ color: rgb(106, 135, 244);
/* oklch */ color: oklch(65.3% 0.165 270.1);
Tailwind
colors: {
  custom: {
    50: '#9ea9f8',
    500: '#6a87f4',
    950: '#000000',
  },
}
SCSS
$custom: #6a87f4;
$custom-light: #9ea9f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a87f4",
  "rgb": {
    "r": 106,
    "g": 135,
    "b": 244
  },
  "hsl": {
    "h": 227.391,
    "s": 86.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65339,
    "c": 0.16514,
    "h": 270.1
  },
  "luminance": 0.26924
}

Semantic roles & 50–950 ramp

primary
#6A87F4
secondary
#F1E9C8
accent
#B403E3
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6A87F4

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

Preview Lab → · Contrast checker → · Palette generator →

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