#6287C5#6287C5

#6287C5 is a light, moderate blue. Relative luminance 0.240; OKLCH L 62.2% C 0.103 H 260.4°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#6287C5
RGBrgb(98, 135, 197)
HSLhsl(218, 46%, 58%)
HSVhsv(218, 50%, 77%)
CMYKcmyk(50.3%, 31.5%, 0%, 22.7%)
CIE-LABlab(56.04, 4.52, -36.21)
CIE-LCHlch(56.04, 36.49, 277.11°)
OKLaboklab(62.23% -0.0173 -0.1017)
OKLCHoklch(62.23% 0.103 260.4)
XYZxyz(23.7756, 23.9542, 56.1833)
Luminance0.2396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6287C5 #C5A062
analogous
#62B8C5 #6287C5 #6E62C5
triadic
#6287C5 #C56287 #87C562
tetradic
#6287C5 #C562B8 #C5A062 #62C56E
square
#6287C5 #C562B8 #C5A062 #62C56E
split-complementary
#6287C5 #C56E62 #B8C562
monochromatic
#2F4C7E #3F67AB #6287C5 #8FA9D6 #BBCBE6

Accessibility & contrast

On white

3.63
#6287C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#6287C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6287C5
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6287C5#FFFFFF#000000##000000
##6287C51.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8BC8
Deuteranopia (green-blind)
#6382C4
Tritanopia (blue-blind)
#34959D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #6287c5;
/* rgb */ color: rgb(98, 135, 197);
/* oklch */ color: oklch(62.2% 0.103 260.4);
Tailwind
colors: {
  custom: {
    50: '#94a9d7',
    500: '#6287c5',
    950: '#000000',
  },
}
SCSS
$custom: #6287c5;
$custom-light: #94a9d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6287c5",
  "rgb": {
    "r": 98,
    "g": 135,
    "b": 197
  },
  "hsl": {
    "h": 217.576,
    "s": 46.047,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62228,
    "c": 0.10321,
    "h": 260.4
  },
  "luminance": 0.23956
}

Semantic roles & 50–950 ramp

primary
#6287C5
secondary
#D5C6AE
accent
#A552D6
background
#F9FAFD
surface
#F2F4FA
border
#CCCED3
text
#0E0F14
muted
#7E7F83

Preview Lab

Preview with #6287C5

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

Preview Lab → · Contrast checker → · Palette generator →

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