#6285F2#6285F2

#6285F2 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.4% C 0.167 H 268.1°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#6285F2
RGBrgb(98, 133, 242)
HSLhsl(225, 85%, 67%)
HSVhsv(225, 60%, 95%)
CMYKcmyk(59.5%, 45%, 0%, 5.1%)
CIE-LABlab(57.83, 20.10, -58.59)
CIE-LCHlch(57.83, 61.94, 288.94°)
OKLaboklab(64.37% -0.0056 -0.1672)
OKLCHoklch(64.37% 0.167 268.1)
XYZxyz(29.4461, 25.7801, 87.4115)
Luminance0.2578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6285F2 #F2CF62
analogous
#62CDF2 #6285F2 #8762F2
triadic
#6285F2 #F26285 #85F262
tetradic
#6285F2 #F262CD #F2CF62 #62F287
square
#6285F2 #F262CD #F2CF62 #62F287
split-complementary
#6285F2 #F28762 #CDF262
monochromatic
#113DC9 #2959ED #6285F2 #9BB1F7 #D3DDFB

Accessibility & contrast

On white

3.41
#6285F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#6285F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6285F2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6285F2#FFFFFF#000000##000000
##6285F21.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5292F6
Deuteranopia (green-blind)
#3B85F0
Tritanopia (blue-blind)
#009EB0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #6285f2;
/* rgb */ color: rgb(98, 133, 242);
/* oklch */ color: oklch(64.4% 0.167 268.1);
Tailwind
colors: {
  custom: {
    50: '#9aa8f7',
    500: '#6285f2',
    950: '#000000',
  },
}
SCSS
$custom: #6285f2;
$custom-light: #9aa8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6285f2",
  "rgb": {
    "r": 98,
    "g": 133,
    "b": 242
  },
  "hsl": {
    "h": 225.417,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64365,
    "c": 0.16729,
    "h": 268.1
  },
  "luminance": 0.25783
}

Semantic roles & 50–950 ramp

primary
#6285F2
secondary
#EFE4C1
accent
#AC04E1
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6285F2

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

Preview Lab → · Contrast checker → · Palette generator →

#6285F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva