#6478E6#6478E6

#6478E6 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.2% C 0.166 H 272.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#6478E6
RGBrgb(100, 120, 230)
HSLhsl(231, 72%, 65%)
HSVhsv(231, 57%, 90%)
CMYKcmyk(56.5%, 47.8%, 0%, 9.8%)
CIE-LABlab(53.87, 24.44, -58.24)
CIE-LCHlch(53.87, 63.16, 292.77°)
OKLaboklab(61.15% 0.0081 -0.1663)
OKLCHoklch(61.15% 0.166 272.8)
XYZxyz(26.2503, 21.8535, 77.6824)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6478E6 #E6D264
analogous
#64B9E6 #6478E6 #9164E6
triadic
#6478E6 #E66478 #78E664
tetradic
#6478E6 #E664B9 #E6D264 #64E691
square
#6478E6 #E664B9 #E6D264 #64E691
split-complementary
#6478E6 #E69164 #B9E664
monochromatic
#1D34B3 #2F4ADD #6478E6 #99A6EE #CDD4F7

Accessibility & contrast

On white

3.91
#6478E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#6478E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6478E6
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6478E6#FFFFFF#000000##000000
##6478E61.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4287EA
Deuteranopia (green-blind)
#2F7BE4
Tritanopia (blue-blind)
#0D91A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6478e6;
/* rgb */ color: rgb(100, 120, 230);
/* oklch */ color: oklch(61.2% 0.166 272.8);
Tailwind
colors: {
  custom: {
    50: '#9a9eee',
    500: '#6478e6',
    950: '#000000',
  },
}
SCSS
$custom: #6478e6;
$custom-light: #9a9eee;
$custom-dark: #000000;
JSON
{
  "hex": "#6478e6",
  "rgb": {
    "r": 100,
    "g": 120,
    "b": 230
  },
  "hsl": {
    "h": 230.769,
    "s": 72.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61154,
    "c": 0.16648,
    "h": 272.8
  },
  "luminance": 0.21855
}

Semantic roles & 50–950 ramp

primary
#6478E6
secondary
#E9E2BD
accent
#B611D4
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6478E6

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

Preview Lab → · Contrast checker → · Palette generator →

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