#6278EC#6278EC

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

Color values

HEX#6278EC
RGBrgb(98, 120, 236)
HSLhsl(230, 78%, 65%)
HSVhsv(230, 58%, 93%)
CMYKcmyk(58.5%, 49.2%, 0%, 7.5%)
CIE-LABlab(54.12, 26.01, -61.21)
CIE-LCHlch(54.12, 66.51, 293.02°)
OKLaboklab(61.43% 0.0067 -0.175)
OKLCHoklch(61.43% 0.175 272.2)
XYZxyz(26.8888, 22.0836, 82.1862)
Luminance0.2209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6278EC #ECD662
analogous
#62BDEC #6278EC #9162EC
triadic
#6278EC #EC6278 #78EC62
tetradic
#6278EC #EC62BD #ECD662 #62EC91
square
#6278EC #EC62BD #ECD662 #62EC91
split-complementary
#6278EC #EC9162 #BDEC62
monochromatic
#1731BD #2B49E5 #6278EC #99A7F3 #CFD6F9

Accessibility & contrast

On white

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

On black

5.42
#6278EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6278EC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6278EC#FFFFFF#000000##000000
##6278EC1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B88F0
Deuteranopia (green-blind)
#217CEA
Tritanopia (blue-blind)
#0092A7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6278ec;
/* rgb */ color: rgb(98, 120, 236);
/* oklch */ color: oklch(61.4% 0.175 272.2);
Tailwind
colors: {
  custom: {
    50: '#9a9ef3',
    500: '#6278ec',
    950: '#000000',
  },
}
SCSS
$custom: #6278ec;
$custom-light: #9a9ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#6278ec",
  "rgb": {
    "r": 98,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 230.435,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61425,
    "c": 0.17518,
    "h": 272.2
  },
  "luminance": 0.22086
}

Semantic roles & 50–950 ramp

primary
#6278EC
secondary
#ECE5BE
accent
#BA0BDB
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6278EC

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

Preview Lab → · Contrast checker → · Palette generator →

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