#6278EB#6278EB

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

Color values

HEX#6278EB
RGBrgb(98, 120, 235)
HSLhsl(230, 77%, 65%)
HSVhsv(230, 58%, 92%)
CMYKcmyk(58.3%, 48.9%, 0%, 7.8%)
CIE-LABlab(54.05, 25.68, -60.75)
CIE-LCHlch(54.05, 65.96, 292.92°)
OKLaboklab(61.36% 0.0066 -0.1737)
OKLCHoklch(61.36% 0.174 272.2)
XYZxyz(26.7439, 22.0257, 81.4232)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6278EB #EBD562
analogous
#62BCEB #6278EB #9062EB
triadic
#6278EB #EB6278 #78EB62
tetradic
#6278EB #EB62BC #EBD562 #62EB90
square
#6278EB #EB62BC #EBD562 #62EB90
split-complementary
#6278EB #EB9062 #BCEB62
monochromatic
#1832BB #2C49E4 #6278EB #98A7F2 #CFD5F9

Accessibility & contrast

On white

3.88
#6278EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#6278EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6278EB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6278EB#FFFFFF#000000##000000
##6278EB1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D87EF
Deuteranopia (green-blind)
#237CE9
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6278eb;
/* rgb */ color: rgb(98, 120, 235);
/* oklch */ color: oklch(61.4% 0.174 272.2);
Tailwind
colors: {
  custom: {
    50: '#999ef2',
    500: '#6278eb',
    950: '#000000',
  },
}
SCSS
$custom: #6278eb;
$custom-light: #999ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#6278eb",
  "rgb": {
    "r": 98,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 230.365,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61359,
    "c": 0.17383,
    "h": 272.2
  },
  "luminance": 0.22028
}

Semantic roles & 50–950 ramp

primary
#6278EB
secondary
#EBE4BD
accent
#B90CDA
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6278EB

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

Preview Lab → · Contrast checker → · Palette generator →

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