#6287D5#6287D5

#6287D5 is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.1% C 0.125 H 263.9°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#6287D5
RGBrgb(98, 135, 213)
HSLhsl(221, 58%, 61%)
HSVhsv(221, 54%, 84%)
CMYKcmyk(54%, 36.6%, 0%, 16.5%)
CIE-LABlab(56.81, 9.52, -44.03)
CIE-LCHlch(56.81, 45.05, 282.20°)
OKLaboklab(63.08% -0.0132 -0.1245)
OKLCHoklch(63.08% 0.125 263.9)
XYZxyz(25.7072, 24.7268, 66.3560)
Luminance0.2473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6287D5 #D5B062
analogous
#62C0D5 #6287D5 #7662D5
triadic
#6287D5 #D56287 #87D562
tetradic
#6287D5 #D562C0 #D5B062 #62D576
square
#6287D5 #D562C0 #D5B062 #62D576
split-complementary
#6287D5 #D57662 #C0D562
monochromatic
#284B95 #3563C5 #6287D5 #92ACE2 #C3D1EF

Accessibility & contrast

On white

3.53
#6287D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#6287D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6287D5
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6287D5#FFFFFF#000000##000000
##6287D51.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ED8
Deuteranopia (green-blind)
#5A83D3
Tritanopia (blue-blind)
#2298A4
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6287d5;
/* rgb */ color: rgb(98, 135, 213);
/* oklch */ color: oklch(63.1% 0.125 263.9);
Tailwind
colors: {
  custom: {
    50: '#96a9e2',
    500: '#6287d5',
    950: '#000000',
  },
}
SCSS
$custom: #6287d5;
$custom-light: #96a9e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6287d5",
  "rgb": {
    "r": 98,
    "g": 135,
    "b": 213
  },
  "hsl": {
    "h": 220.696,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63075,
    "c": 0.12523,
    "h": 263.9
  },
  "luminance": 0.24729
}

Semantic roles & 50–950 ramp

primary
#6287D5
secondary
#DFD1B4
accent
#9020C5
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #6287D5

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

Preview Lab → · Contrast checker → · Palette generator →

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