#6278F8#6278F8

#6278F8 is a light, vivid blue. Relative luminance 0.228; OKLCH L 62.2% C 0.191 H 272.3°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#6278F8
RGBrgb(98, 120, 248)
HSLhsl(231, 91%, 68%)
HSVhsv(231, 60%, 97%)
CMYKcmyk(60.5%, 51.6%, 0%, 2.7%)
CIE-LABlab(54.87, 29.93, -66.67)
CIE-LCHlch(54.87, 73.08, 294.18°)
OKLaboklab(62.24% 0.0077 -0.1911)
OKLCHoklch(62.24% 0.191 272.3)
XYZxyz(28.6911, 22.8046, 91.6785)
Luminance0.2281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6278F8 #F8E262
analogous
#62C3F8 #6278F8 #9762F8
triadic
#6278F8 #F86278 #78F862
tetradic
#6278F8 #F862C3 #F8E262 #62F897
square
#6278F8 #F862C3 #F8E262 #62F897
split-complementary
#6278F8 #F89762 #C3F862
monochromatic
#0A28D6 #2746F5 #6278F8 #9DAAFB #D7DDFD

Accessibility & contrast

On white

3.78
#6278F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#6278F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6278F8
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6278F8#FFFFFF#000000##000000
##6278F81.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8AFD
Deuteranopia (green-blind)
#007DF5
Tritanopia (blue-blind)
#0096AD
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6278f8;
/* rgb */ color: rgb(98, 120, 248);
/* oklch */ color: oklch(62.2% 0.191 272.3);
Tailwind
colors: {
  custom: {
    50: '#9b9efb',
    500: '#6278f8',
    950: '#000000',
  },
}
SCSS
$custom: #6278f8;
$custom-light: #9b9efb;
$custom-dark: #000000;
JSON
{
  "hex": "#6278f8",
  "rgb": {
    "r": 98,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 231.2,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.62237,
    "c": 0.19126,
    "h": 272.3
  },
  "luminance": 0.22807
}

Semantic roles & 50–950 ramp

primary
#6278F8
secondary
#F2EBC4
accent
#C400E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6278F8

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

Preview Lab → · Contrast checker → · Palette generator →

#6278F8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva