#6287F2#6287F2

#6287F2 is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.8% C 0.165 H 267.4°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#6287F2
RGBrgb(98, 135, 242)
HSLhsl(225, 85%, 67%)
HSVhsv(225, 60%, 95%)
CMYKcmyk(59.5%, 44.2%, 0%, 5.1%)
CIE-LABlab(58.35, 18.90, -57.75)
CIE-LCHlch(58.35, 60.77, 288.12°)
OKLaboklab(64.77% -0.0076 -0.1647)
OKLCHoklch(64.77% 0.165 267.4)
XYZxyz(29.7225, 26.3329, 87.5036)
Luminance0.2633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6287F2 #F2CD62
analogous
#62CFF2 #6287F2 #8562F2
triadic
#6287F2 #F26287 #87F262
tetradic
#6287F2 #F262CF #F2CD62 #62F285
square
#6287F2 #F262CF #F2CD62 #62F285
split-complementary
#6287F2 #F28562 #CFF262
monochromatic
#1140C9 #295CED #6287F2 #9BB2F7 #D3DDFB

Accessibility & contrast

On white

3.35
#6287F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#6287F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6287F2
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6287F2#FFFFFF#000000##000000
##6287F21.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5593F6
Deuteranopia (green-blind)
#4086F0
Tritanopia (blue-blind)
#009FB1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #6287f2;
/* rgb */ color: rgb(98, 135, 242);
/* oklch */ color: oklch(64.8% 0.165 267.4);
Tailwind
colors: {
  custom: {
    50: '#9aa9f7',
    500: '#6287f2',
    950: '#000000',
  },
}
SCSS
$custom: #6287f2;
$custom-light: #9aa9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6287f2",
  "rgb": {
    "r": 98,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 224.583,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64766,
    "c": 0.16489,
    "h": 267.4
  },
  "luminance": 0.26335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6287F2

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

Preview Lab → · Contrast checker → · Palette generator →

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