#6287EA#6287EA

#6287EA is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.3% C 0.154 H 266.7°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#6287EA
RGBrgb(98, 135, 234)
HSLhsl(224, 76%, 65%)
HSVhsv(224, 58%, 92%)
CMYKcmyk(58.1%, 42.3%, 0%, 8.2%)
CIE-LABlab(57.91, 16.28, -54.03)
CIE-LCHlch(57.91, 56.43, 286.77°)
OKLaboklab(64.28% -0.0089 -0.1538)
OKLCHoklch(64.28% 0.154 266.7)
XYZxyz(28.5472, 25.8628, 81.3136)
Luminance0.2586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6287EA #EAC562
analogous
#62CBEA #6287EA #8162EA
triadic
#6287EA #EA6287 #87EA62
tetradic
#6287EA #EA62CB #EAC562 #62EA81
square
#6287EA #EA62CB #EAC562 #62EA81
split-complementary
#6287EA #EA8162 #CBEA62
monochromatic
#1944B9 #2C5EE3 #6287EA #98B0F1 #CEDAF8

Accessibility & contrast

On white

3.40
#6287EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#6287EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6287EA
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6287EA#FFFFFF#000000##000000
##6287EA1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B92EE
Deuteranopia (green-blind)
#4985E8
Tritanopia (blue-blind)
#009DAD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #6287ea;
/* rgb */ color: rgb(98, 135, 234);
/* oklch */ color: oklch(64.3% 0.154 266.7);
Tailwind
colors: {
  custom: {
    50: '#99a9f1',
    500: '#6287ea',
    950: '#000000',
  },
}
SCSS
$custom: #6287ea;
$custom-light: #99a9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6287ea",
  "rgb": {
    "r": 98,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 223.676,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6428,
    "c": 0.15404,
    "h": 266.7
  },
  "luminance": 0.25865
}

Semantic roles & 50–950 ramp

primary
#6287EA
secondary
#EBDEBD
accent
#A10DD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #6287EA

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

Preview Lab → · Contrast checker → · Palette generator →

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