#6278EA#6278EA

#6278EA is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.3% C 0.172 H 272.2°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#6278EA
RGBrgb(98, 120, 234)
HSLhsl(230, 76%, 65%)
HSVhsv(230, 58%, 92%)
CMYKcmyk(58.1%, 48.7%, 0%, 8.2%)
CIE-LABlab(53.99, 25.36, -60.29)
CIE-LCHlch(53.99, 65.41, 292.81°)
OKLaboklab(61.29% 0.0065 -0.1723)
OKLCHoklch(61.29% 0.172 272.2)
XYZxyz(26.5999, 21.9681, 80.6645)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6278EA #EAD462
analogous
#62BCEA #6278EA #9062EA
triadic
#6278EA #EA6278 #78EA62
tetradic
#6278EA #EA62BC #EAD462 #62EA90
square
#6278EA #EA62BC #EAD462 #62EA90
split-complementary
#6278EA #EA9062 #BCEA62
monochromatic
#1933B9 #2C4AE3 #6278EA #98A6F1 #CED5F8

Accessibility & contrast

On white

3.89
#6278EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#6278EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6278EA
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6278EA#FFFFFF#000000##000000
##6278EA1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E87EE
Deuteranopia (green-blind)
#267BE8
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6278ea;
/* rgb */ color: rgb(98, 120, 234);
/* oklch */ color: oklch(61.3% 0.172 272.2);
Tailwind
colors: {
  custom: {
    50: '#999ef1',
    500: '#6278ea',
    950: '#000000',
  },
}
SCSS
$custom: #6278ea;
$custom-light: #999ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#6278ea",
  "rgb": {
    "r": 98,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 230.294,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61293,
    "c": 0.17246,
    "h": 272.2
  },
  "luminance": 0.2197
}

Semantic roles & 50–950 ramp

primary
#6278EA
secondary
#EBE3BD
accent
#B80DD9
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6278EA

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

Preview Lab → · Contrast checker → · Palette generator →

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