#6478EF#6478EF

#6478EF is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.7% C 0.179 H 272.9°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#6478EF
RGBrgb(100, 120, 239)
HSLhsl(231, 81%, 66%)
HSVhsv(231, 58%, 94%)
CMYKcmyk(58.2%, 49.8%, 0%, 6.3%)
CIE-LABlab(54.42, 27.36, -62.39)
CIE-LCHlch(54.42, 68.12, 293.68°)
OKLaboklab(61.75% 0.009 -0.1785)
OKLCHoklch(61.75% 0.179 272.9)
XYZxyz(27.5469, 22.3721, 84.5112)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6478EF #EFDB64
analogous
#64BEEF #6478EF #9664EF
triadic
#6478EF #EF6478 #78EF64
tetradic
#6478EF #EF64BE #EFDB64 #64EF96
square
#6478EF #EF64BE #EFDB64 #64EF96
split-complementary
#6478EF #EF9664 #BEEF64
monochromatic
#142EC4 #2D48E9 #6478EF #9BA8F5 #D3D9FA

Accessibility & contrast

On white

3.84
#6478EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#6478EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6478EF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6478EF#FFFFFF#000000##000000
##6478EF1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3988F3
Deuteranopia (green-blind)
#1C7CED
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6478ef;
/* rgb */ color: rgb(100, 120, 239);
/* oklch */ color: oklch(61.7% 0.179 272.9);
Tailwind
colors: {
  custom: {
    50: '#9b9ef5',
    500: '#6478ef',
    950: '#000000',
  },
}
SCSS
$custom: #6478ef;
$custom-light: #9b9ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#6478ef",
  "rgb": {
    "r": 100,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 231.367,
    "s": 81.287,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61746,
    "c": 0.1787,
    "h": 272.9
  },
  "luminance": 0.22374
}

Semantic roles & 50–950 ramp

primary
#6478EF
secondary
#EEE7C1
accent
#BF08DE
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6478EF

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

Preview Lab → · Contrast checker → · Palette generator →

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