#6285F4#6285F4

#6285F4 is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.5% C 0.170 H 268.2°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#6285F4
RGBrgb(98, 133, 244)
HSLhsl(226, 87%, 67%)
HSVhsv(226, 60%, 96%)
CMYKcmyk(59.8%, 45.5%, 0%, 4.3%)
CIE-LABlab(57.94, 20.76, -59.51)
CIE-LCHlch(57.94, 63.03, 289.23°)
OKLaboklab(64.49% -0.0053 -0.1699)
OKLCHoklch(64.49% 0.17 268.2)
XYZxyz(29.7481, 25.9009, 89.0021)
Luminance0.2590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6285F4 #F4D162
analogous
#62CEF4 #6285F4 #8862F4
triadic
#6285F4 #F46285 #85F462
tetradic
#6285F4 #F462CE #F4D162 #62F488
square
#6285F4 #F462CE #F4D162 #62F488
split-complementary
#6285F4 #F48862 #CEF462
monochromatic
#0E3CCD #2959F0 #6285F4 #9BB1F8 #D4DEFC

Accessibility & contrast

On white

3.40
#6285F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#6285F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6285F4
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6285F4#FFFFFF#000000##000000
##6285F41.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5092F8
Deuteranopia (green-blind)
#3985F2
Tritanopia (blue-blind)
#009EB1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #6285f4;
/* rgb */ color: rgb(98, 133, 244);
/* oklch */ color: oklch(64.5% 0.170 268.2);
Tailwind
colors: {
  custom: {
    50: '#9aa8f8',
    500: '#6285f4',
    950: '#000000',
  },
}
SCSS
$custom: #6285f4;
$custom-light: #9aa8f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6285f4",
  "rgb": {
    "r": 98,
    "g": 133,
    "b": 244
  },
  "hsl": {
    "h": 225.616,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.6449,
    "c": 0.16999,
    "h": 268.2
  },
  "luminance": 0.25903
}

Semantic roles & 50–950 ramp

primary
#6285F4
secondary
#F0E5C2
accent
#AD02E3
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6285F4

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

Preview Lab → · Contrast checker → · Palette generator →

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