#6287C4#6287C4

#6287C4 is a light, moderate blue. Relative luminance 0.239; OKLCH L 62.2% C 0.102 H 260.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#6287C4
RGBrgb(98, 135, 196)
HSLhsl(217, 45%, 58%)
HSVhsv(217, 50%, 77%)
CMYKcmyk(50%, 31.1%, 0%, 23.1%)
CIE-LABlab(56.00, 4.21, -35.71)
CIE-LCHlch(56.00, 35.96, 276.72°)
OKLaboklab(62.18% -0.0176 -0.1003)
OKLCHoklch(62.18% 0.102 260.1)
XYZxyz(23.6614, 23.9085, 55.5818)
Luminance0.2391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6287C4 #C49F62
analogous
#62B8C4 #6287C4 #6E62C4
triadic
#6287C4 #C46287 #87C462
tetradic
#6287C4 #C462B8 #C49F62 #62C46E
square
#6287C4 #C462B8 #C49F62 #62C46E
split-complementary
#6287C4 #C46E62 #B8C462
monochromatic
#2F4C7D #4067A9 #6287C4 #8EA9D5 #BBCBE5

Accessibility & contrast

On white

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

On black

5.78
#6287C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6287C4
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6287C4#FFFFFF#000000##000000
##6287C41.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#708BC7
Deuteranopia (green-blind)
#6482C3
Tritanopia (blue-blind)
#35949D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #6287c4;
/* rgb */ color: rgb(98, 135, 196);
/* oklch */ color: oklch(62.2% 0.102 260.1);
Tailwind
colors: {
  custom: {
    50: '#94a9d6',
    500: '#6287c4',
    950: '#000000',
  },
}
SCSS
$custom: #6287c4;
$custom-light: #94a9d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6287c4",
  "rgb": {
    "r": 98,
    "g": 135,
    "b": 196
  },
  "hsl": {
    "h": 217.347,
    "s": 45.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62177,
    "c": 0.10185,
    "h": 260.1
  },
  "luminance": 0.2391
}

Semantic roles & 50–950 ramp

primary
#6287C4
secondary
#D5C6AD
accent
#A453D5
background
#F9FAFD
surface
#F2F4FA
border
#CCCED3
text
#0E0F14
muted
#7E7F83

Preview Lab

Preview with #6287C4

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

Preview Lab → · Contrast checker → · Palette generator →

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