#6287D7#6287D7

#6287D7 is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.2% C 0.128 H 264.3°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#6287D7
RGBrgb(98, 135, 215)
HSLhsl(221, 59%, 61%)
HSVhsv(221, 54%, 84%)
CMYKcmyk(54.4%, 37.2%, 0%, 15.7%)
CIE-LABlab(56.91, 10.16, -45.00)
CIE-LCHlch(56.91, 46.13, 282.72°)
OKLaboklab(63.19% -0.0128 -0.1273)
OKLCHoklch(63.19% 0.128 264.3)
XYZxyz(25.9626, 24.8289, 67.7011)
Luminance0.2483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6287D7 #D7B262
analogous
#62C2D7 #6287D7 #7862D7
triadic
#6287D7 #D76287 #87D762
tetradic
#6287D7 #D762C2 #D7B262 #62D778
square
#6287D7 #D762C2 #D7B262 #62D778
split-complementary
#6287D7 #D77862 #C2D762
monochromatic
#274A98 #3362C9 #6287D7 #93ACE3 #C4D2F0

Accessibility & contrast

On white

3.52
#6287D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#6287D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6287D7
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6287D7#FFFFFF#000000##000000
##6287D71.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#678EDA
Deuteranopia (green-blind)
#5884D5
Tritanopia (blue-blind)
#1E98A5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #6287d7;
/* rgb */ color: rgb(98, 135, 215);
/* oklch */ color: oklch(63.2% 0.128 264.3);
Tailwind
colors: {
  custom: {
    50: '#96a9e4',
    500: '#6287d7',
    950: '#000000',
  },
}
SCSS
$custom: #6287d7;
$custom-light: #96a9e4;
$custom-dark: #000000;
JSON
{
  "hex": "#6287d7",
  "rgb": {
    "r": 98,
    "g": 135,
    "b": 215
  },
  "hsl": {
    "h": 221.026,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.63185,
    "c": 0.12799,
    "h": 264.3
  },
  "luminance": 0.24831
}

Semantic roles & 50–950 ramp

primary
#6287D7
secondary
#E0D2B5
accent
#921EC7
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #6287D7

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

Preview Lab → · Contrast checker → · Palette generator →

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