#6287C2#6287C2

#6287C2 is a light, moderate blue. Relative luminance 0.238; OKLCH L 62.1% C 0.099 H 259.4°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#6287C2
RGBrgb(98, 135, 194)
HSLhsl(217, 44%, 57%)
HSVhsv(217, 49%, 76%)
CMYKcmyk(49.5%, 30.4%, 0%, 23.9%)
CIE-LABlab(55.91, 3.60, -34.72)
CIE-LCHlch(55.91, 34.90, 275.91°)
OKLaboklab(62.08% -0.0181 -0.0974)
OKLCHoklch(62.08% 0.099 259.4)
XYZxyz(23.4353, 23.8180, 54.3909)
Luminance0.2382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6287C2 #C29D62
analogous
#62B7C2 #6287C2 #6D62C2
triadic
#6287C2 #C26287 #87C262
tetradic
#6287C2 #C262B7 #C29D62 #62C26D
square
#6287C2 #C262B7 #C29D62 #62C26D
split-complementary
#6287C2 #C26D62 #B7C262
monochromatic
#2F4C7A #4168A6 #6287C2 #8EA9D3 #BACAE4

Accessibility & contrast

On white

3.64
#6287C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#6287C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6287C2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6287C2#FFFFFF#000000##000000
##6287C21.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#708BC5
Deuteranopia (green-blind)
#6582C1
Tritanopia (blue-blind)
#37949C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #6287c2;
/* rgb */ color: rgb(98, 135, 194);
/* oklch */ color: oklch(62.1% 0.099 259.4);
Tailwind
colors: {
  custom: {
    50: '#94a9d4',
    500: '#6287c2',
    950: '#000000',
  },
}
SCSS
$custom: #6287c2;
$custom-light: #94a9d4;
$custom-dark: #000000;
JSON
{
  "hex": "#6287c2",
  "rgb": {
    "r": 98,
    "g": 135,
    "b": 194
  },
  "hsl": {
    "h": 216.875,
    "s": 44.037,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62076,
    "c": 0.09912,
    "h": 259.4
  },
  "luminance": 0.2382
}

Semantic roles & 50–950 ramp

primary
#6287C2
secondary
#D3C4AC
accent
#A354D4
background
#F9FAFD
surface
#F2F4FA
border
#CCCED3
text
#0E0F14
muted
#7E7F83

Preview Lab

Preview with #6287C2

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

Preview Lab → · Contrast checker → · Palette generator →

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