#6278F0#6278F0

#6278F0 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.7% C 0.181 H 272.2°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#6278F0
RGBrgb(98, 120, 240)
HSLhsl(231, 83%, 66%)
HSVhsv(231, 59%, 94%)
CMYKcmyk(59.2%, 50%, 0%, 5.9%)
CIE-LABlab(54.36, 27.31, -63.04)
CIE-LCHlch(54.36, 68.70, 293.43°)
OKLaboklab(61.69% 0.0071 -0.1804)
OKLCHoklch(61.69% 0.181 272.2)
XYZxyz(27.4764, 22.3187, 85.2812)
Luminance0.2232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6278F0 #F0DA62
analogous
#62BFF0 #6278F0 #9362F0
triadic
#6278F0 #F06278 #78F062
tetradic
#6278F0 #F062BF #F0DA62 #62F093
square
#6278F0 #F062BF #F0DA62 #62F093
split-complementary
#6278F0 #F09362 #BFF062
monochromatic
#132EC5 #2A48EB #6278F0 #9AA8F5 #D2D8FB

Accessibility & contrast

On white

3.84
#6278F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#6278F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6278F0
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6278F0#FFFFFF#000000##000000
##6278F01.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3788F4
Deuteranopia (green-blind)
#167CED
Tritanopia (blue-blind)
#0093A9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6278f0;
/* rgb */ color: rgb(98, 120, 240);
/* oklch */ color: oklch(61.7% 0.181 272.2);
Tailwind
colors: {
  custom: {
    50: '#9a9ef6',
    500: '#6278f0',
    950: '#000000',
  },
}
SCSS
$custom: #6278f0;
$custom-light: #9a9ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#6278f0",
  "rgb": {
    "r": 98,
    "g": 120,
    "b": 240
  },
  "hsl": {
    "h": 230.704,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61692,
    "c": 0.18057,
    "h": 272.2
  },
  "luminance": 0.22321
}

Semantic roles & 50–950 ramp

primary
#6278F0
secondary
#EEE7C0
accent
#BD07DF
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6278F0

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

Preview Lab → · Contrast checker → · Palette generator →

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