#6287CD#6287CD

#6287CD is a light, moderate blue. Relative luminance 0.243; OKLCH L 62.6% C 0.114 H 262.4°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#6287CD
RGBrgb(98, 135, 205)
HSLhsl(219, 52%, 59%)
HSVhsv(219, 52%, 80%)
CMYKcmyk(52.2%, 34.1%, 0%, 19.6%)
CIE-LABlab(56.42, 7.00, -40.14)
CIE-LCHlch(56.42, 40.75, 279.89°)
OKLaboklab(62.64% -0.0152 -0.1132)
OKLCHoklch(62.64% 0.114 262.4)
XYZxyz(24.7167, 24.3306, 61.1396)
Luminance0.2433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6287CD #CDA862
analogous
#62BDCD #6287CD #7362CD
triadic
#6287CD #CD6287 #87CD62
tetradic
#6287CD #CD62BD #CDA862 #62CD73
square
#6287CD #CD62BD #CDA862 #62CD73
split-complementary
#6287CD #CD7362 #BDCD62
monochromatic
#2C4C89 #3A66B7 #6287CD #90AADC #BFCEEB

Accessibility & contrast

On white

3.58
#6287CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#6287CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6287CD
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6287CD#FFFFFF#000000##000000
##6287CD1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8DD0
Deuteranopia (green-blind)
#5F83CB
Tritanopia (blue-blind)
#2C96A0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #6287cd;
/* rgb */ color: rgb(98, 135, 205);
/* oklch */ color: oklch(62.6% 0.114 262.4);
Tailwind
colors: {
  custom: {
    50: '#95a9dc',
    500: '#6287cd',
    950: '#000000',
  },
}
SCSS
$custom: #6287cd;
$custom-light: #95a9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6287cd",
  "rgb": {
    "r": 98,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 219.252,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.62643,
    "c": 0.1142,
    "h": 262.4
  },
  "luminance": 0.24332
}

Semantic roles & 50–950 ramp

primary
#6287CD
secondary
#DACCB1
accent
#AA4DDB
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #6287CD

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

Preview Lab → · Contrast checker → · Palette generator →

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