#6286F2#6286F2

#6286F2 is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.6% C 0.166 H 267.7°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#6286F2
RGBrgb(98, 134, 242)
HSLhsl(225, 85%, 67%)
HSVhsv(225, 60%, 95%)
CMYKcmyk(59.5%, 44.6%, 0%, 5.1%)
CIE-LABlab(58.09, 19.50, -58.17)
CIE-LCHlch(58.09, 61.35, 288.53°)
OKLaboklab(64.57% -0.0066 -0.166)
OKLCHoklch(64.57% 0.166 267.7)
XYZxyz(29.5837, 26.0552, 87.4573)
Luminance0.2606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6286F2 #F2CE62
analogous
#62CEF2 #6286F2 #8662F2
triadic
#6286F2 #F26286 #86F262
tetradic
#6286F2 #F262CE #F2CE62 #62F286
square
#6286F2 #F262CE #F2CE62 #62F286
split-complementary
#6286F2 #F28662 #CEF262
monochromatic
#113FC9 #295AED #6286F2 #9BB2F7 #D3DDFB

Accessibility & contrast

On white

3.38
#6286F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#6286F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6286F2
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6286F2#FFFFFF#000000##000000
##6286F21.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5492F6
Deuteranopia (green-blind)
#3E86F0
Tritanopia (blue-blind)
#009EB0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #6286f2;
/* rgb */ color: rgb(98, 134, 242);
/* oklch */ color: oklch(64.6% 0.166 267.7);
Tailwind
colors: {
  custom: {
    50: '#9aa8f7',
    500: '#6286f2',
    950: '#000000',
  },
}
SCSS
$custom: #6286f2;
$custom-light: #9aa8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6286f2",
  "rgb": {
    "r": 98,
    "g": 134,
    "b": 242
  },
  "hsl": {
    "h": 225,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64565,
    "c": 0.16609,
    "h": 267.7
  },
  "luminance": 0.26058
}

Semantic roles & 50–950 ramp

primary
#6286F2
secondary
#EFE3C1
accent
#AA04E1
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6286F2

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

Preview Lab → · Contrast checker → · Palette generator →

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