#6A87ED#6A87ED

#6A87ED is a light, vivid blue. Relative luminance 0.265; OKLCH L 64.9% C 0.156 H 269.7°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#6A87ED
RGBrgb(106, 135, 237)
HSLhsl(227, 78%, 67%)
HSVhsv(227, 55%, 93%)
CMYKcmyk(55.3%, 43%, 0%, 7.1%)
CIE-LABlab(58.51, 18.84, -54.70)
CIE-LCHlch(58.51, 57.85, 289.00°)
OKLaboklab(64.92% -0.0008 -0.1556)
OKLCHoklch(64.92% 0.156 269.7)
XYZxyz(29.8888, 26.5043, 83.6452)
Luminance0.2651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A87ED #EDD06A
analogous
#6AC8ED #6A87ED #8F6AED
triadic
#6A87ED #ED6A87 #87ED6A
tetradic
#6A87ED #ED6AC8 #EDD06A #6AED8F
square
#6A87ED #ED6AC8 #EDD06A #6AED8F
split-complementary
#6A87ED #ED8F6A #C8ED6A
monochromatic
#183EC5 #335BE6 #6A87ED #A1B3F4 #D7DFFA

Accessibility & contrast

On white

3.33
#6A87ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#6A87ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A87ED
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A87ED#FFFFFF#000000##000000
##6A87ED1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F1
Deuteranopia (green-blind)
#4A87EB
Tritanopia (blue-blind)
#1B9DAE
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #6a87ed;
/* rgb */ color: rgb(106, 135, 237);
/* oklch */ color: oklch(64.9% 0.156 269.7);
Tailwind
colors: {
  custom: {
    50: '#9da9f3',
    500: '#6a87ed',
    950: '#000000',
  },
}
SCSS
$custom: #6a87ed;
$custom-light: #9da9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a87ed",
  "rgb": {
    "r": 106,
    "g": 135,
    "b": 237
  },
  "hsl": {
    "h": 226.718,
    "s": 78.443,
    "l": 67.255
  },
  "oklch": {
    "l": 0.64916,
    "c": 0.15559,
    "h": 269.7
  },
  "luminance": 0.26507
}

Semantic roles & 50–950 ramp

primary
#6A87ED
secondary
#EEE5C5
accent
#AD0BDB
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6A87ED

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

Preview Lab → · Contrast checker → · Palette generator →

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