#6478E5#6478E5

#6478E5 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.1% C 0.165 H 272.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#6478E5
RGBrgb(100, 120, 229)
HSLhsl(231, 71%, 65%)
HSVhsv(231, 56%, 90%)
CMYKcmyk(56.3%, 47.6%, 0%, 10.2%)
CIE-LABlab(53.81, 24.12, -57.78)
CIE-LCHlch(53.81, 62.61, 292.66°)
OKLaboklab(61.09% 0.008 -0.1649)
OKLCHoklch(61.09% 0.165 272.8)
XYZxyz(26.1102, 21.7975, 76.9450)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6478E5 #E5D164
analogous
#64B8E5 #6478E5 #9164E5
triadic
#6478E5 #E56478 #78E564
tetradic
#6478E5 #E564B8 #E5D164 #64E591
square
#6478E5 #E564B8 #E5D164 #64E591
split-complementary
#6478E5 #E59164 #B8E564
monochromatic
#1E35B1 #304ADC #6478E5 #98A6EE #CDD3F7

Accessibility & contrast

On white

3.92
#6478E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#6478E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6478E5
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6478E5#FFFFFF#000000##000000
##6478E51.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4386E9
Deuteranopia (green-blind)
#307BE3
Tritanopia (blue-blind)
#1190A3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6478e5;
/* rgb */ color: rgb(100, 120, 229);
/* oklch */ color: oklch(61.1% 0.165 272.8);
Tailwind
colors: {
  custom: {
    50: '#9a9eee',
    500: '#6478e5',
    950: '#000000',
  },
}
SCSS
$custom: #6478e5;
$custom-light: #9a9eee;
$custom-dark: #000000;
JSON
{
  "hex": "#6478e5",
  "rgb": {
    "r": 100,
    "g": 120,
    "b": 229
  },
  "hsl": {
    "h": 230.698,
    "s": 71.271,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6109,
    "c": 0.1651,
    "h": 272.8
  },
  "luminance": 0.21799
}

Semantic roles & 50–950 ramp

primary
#6478E5
secondary
#E9E2BC
accent
#B512D3
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6478E5

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

Preview Lab → · Contrast checker → · Palette generator →

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