#6278F2#6278F2

#6278F2 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.8% C 0.183 H 272.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#6278F2
RGBrgb(98, 120, 242)
HSLhsl(231, 85%, 67%)
HSVhsv(231, 60%, 95%)
CMYKcmyk(59.5%, 50.4%, 0%, 5.1%)
CIE-LABlab(54.49, 27.97, -63.95)
CIE-LCHlch(54.49, 69.80, 293.62°)
OKLaboklab(61.83% 0.0073 -0.1831)
OKLCHoklch(61.83% 0.183 272.3)
XYZxyz(27.7752, 22.4382, 86.8545)
Luminance0.2244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6278F2 #F2DC62
analogous
#62C0F2 #6278F2 #9462F2
triadic
#6278F2 #F26278 #78F262
tetradic
#6278F2 #F262C0 #F2DC62 #62F294
square
#6278F2 #F262C0 #F2DC62 #62F294
split-complementary
#6278F2 #F29462 #C0F262
monochromatic
#112DC9 #2947ED #6278F2 #9BA9F7 #D3D9FB

Accessibility & contrast

On white

3.83
#6278F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#6278F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6278F2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6278F2#FFFFFF#000000##000000
##6278F21.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3489F6
Deuteranopia (green-blind)
#0D7CEF
Tritanopia (blue-blind)
#0094AA
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6278f2;
/* rgb */ color: rgb(98, 120, 242);
/* oklch */ color: oklch(61.8% 0.183 272.3);
Tailwind
colors: {
  custom: {
    50: '#9a9ef7',
    500: '#6278f2',
    950: '#000000',
  },
}
SCSS
$custom: #6278f2;
$custom-light: #9a9ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#6278f2",
  "rgb": {
    "r": 98,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 230.833,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61827,
    "c": 0.18325,
    "h": 272.3
  },
  "luminance": 0.2244
}

Semantic roles & 50–950 ramp

primary
#6278F2
secondary
#EFE8C1
accent
#BF04E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6278F2

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

Preview Lab → · Contrast checker → · Palette generator →

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