#6478EA#6478EA

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

Color values

HEX#6478EA
RGBrgb(100, 120, 234)
HSLhsl(231, 76%, 65%)
HSVhsv(231, 57%, 92%)
CMYKcmyk(57.3%, 48.7%, 0%, 8.2%)
CIE-LABlab(54.11, 25.74, -60.09)
CIE-LCHlch(54.11, 65.37, 293.18°)
OKLaboklab(61.42% 0.0085 -0.1717)
OKLCHoklch(61.42% 0.172 272.8)
XYZxyz(26.8184, 22.0808, 80.6747)
Luminance0.2208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6478EA #EAD664
analogous
#64BBEA #6478EA #9364EA
triadic
#6478EA #EA6478 #78EA64
tetradic
#6478EA #EA64BB #EAD664 #64EA93
square
#6478EA #EA64BB #EAD664 #64EA93
split-complementary
#6478EA #EA9364 #BBEA64
monochromatic
#1931BA #2E49E3 #6478EA #9AA7F1 #D0D6F9

Accessibility & contrast

On white

3.88
#6478EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#6478EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6478EA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6478EA#FFFFFF#000000##000000
##6478EA1.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)
#3E87EE
Deuteranopia (green-blind)
#287CE8
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6478ea;
/* rgb */ color: rgb(100, 120, 234);
/* oklch */ color: oklch(61.4% 0.172 272.8);
Tailwind
colors: {
  custom: {
    50: '#9a9ef1',
    500: '#6478ea',
    950: '#000000',
  },
}
SCSS
$custom: #6478ea;
$custom-light: #9a9ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#6478ea",
  "rgb": {
    "r": 100,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 231.045,
    "s": 76.136,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61415,
    "c": 0.17193,
    "h": 272.8
  },
  "luminance": 0.22083
}

Semantic roles & 50–950 ramp

primary
#6478EA
secondary
#EBE5BE
accent
#BA0DD8
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6478EA

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

Preview Lab → · Contrast checker → · Palette generator →

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