#6286F6#6286F6

#6286F6 is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.8% C 0.171 H 268.0°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#6286F6
RGBrgb(98, 134, 246)
HSLhsl(225, 89%, 67%)
HSVhsv(225, 60%, 96%)
CMYKcmyk(60.2%, 45.5%, 0%, 3.5%)
CIE-LABlab(58.32, 20.81, -60.02)
CIE-LCHlch(58.32, 63.52, 289.13°)
OKLaboklab(64.82% -0.006 -0.1714)
OKLCHoklch(64.82% 0.171 268)
XYZxyz(30.1910, 26.2981, 90.6560)
Luminance0.2630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6286F6 #F6D262
analogous
#62D0F6 #6286F6 #8862F6
triadic
#6286F6 #F66286 #86F662
tetradic
#6286F6 #F662D0 #F6D262 #62F688
square
#6286F6 #F662D0 #F6D262 #62F688
split-complementary
#6286F6 #F68862 #D0F662
monochromatic
#0C3CD2 #2859F3 #6286F6 #9CB3F9 #D6DFFD

Accessibility & contrast

On white

3.35
#6286F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#6286F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6286F6
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6286F6#FFFFFF#000000##000000
##6286F61.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5093FA
Deuteranopia (green-blind)
#3886F4
Tritanopia (blue-blind)
#009FB2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #6286f6;
/* rgb */ color: rgb(98, 134, 246);
/* oklch */ color: oklch(64.8% 0.171 268.0);
Tailwind
colors: {
  custom: {
    50: '#9ba8fa',
    500: '#6286f6',
    950: '#000000',
  },
}
SCSS
$custom: #6286f6;
$custom-light: #9ba8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6286f6",
  "rgb": {
    "r": 98,
    "g": 134,
    "b": 246
  },
  "hsl": {
    "h": 225.405,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.64815,
    "c": 0.17148,
    "h": 268
  },
  "luminance": 0.26301
}

Semantic roles & 50–950 ramp

primary
#6286F6
secondary
#F1E6C3
accent
#AE00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6286F6

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

Preview Lab → · Contrast checker → · Palette generator →

#6286F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva