#6287D8#6287D8

#6287D8 is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.2% C 0.129 H 264.4°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#6287D8
RGBrgb(98, 135, 216)
HSLhsl(221, 60%, 62%)
HSVhsv(221, 55%, 85%)
CMYKcmyk(54.6%, 37.5%, 0%, 15.3%)
CIE-LABlab(56.96, 10.48, -45.48)
CIE-LCHlch(56.96, 46.67, 282.97°)
OKLaboklab(63.24% -0.0125 -0.1287)
OKLCHoklch(63.24% 0.129 264.4)
XYZxyz(26.0915, 24.8805, 68.3799)
Luminance0.2488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6287D8 #D8B362
analogous
#62C2D8 #6287D8 #7862D8
triadic
#6287D8 #D86287 #87D862
tetradic
#6287D8 #D862C2 #D8B362 #62D878
square
#6287D8 #D862C2 #D8B362 #62D878
split-complementary
#6287D8 #D87862 #C2D862
monochromatic
#264A99 #3262CA #6287D8 #93ACE4 #C4D2F0

Accessibility & contrast

On white

3.51
#6287D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#6287D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6287D8
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6287D8#FFFFFF#000000##000000
##6287D81.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#668FDB
Deuteranopia (green-blind)
#5884D6
Tritanopia (blue-blind)
#1D99A5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #6287d8;
/* rgb */ color: rgb(98, 135, 216);
/* oklch */ color: oklch(63.2% 0.129 264.4);
Tailwind
colors: {
  custom: {
    50: '#96a9e4',
    500: '#6287d8',
    950: '#000000',
  },
}
SCSS
$custom: #6287d8;
$custom-light: #96a9e4;
$custom-dark: #000000;
JSON
{
  "hex": "#6287d8",
  "rgb": {
    "r": 98,
    "g": 135,
    "b": 216
  },
  "hsl": {
    "h": 221.186,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.63241,
    "c": 0.12936,
    "h": 264.4
  },
  "luminance": 0.24882
}

Semantic roles & 50–950 ramp

primary
#6287D8
secondary
#E1D3B5
accent
#921EC8
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F15
muted
#7E7F84

Preview Lab

Preview with #6287D8

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

Preview Lab → · Contrast checker → · Palette generator →

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