#6478E9#6478E9

#6478E9 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.3% C 0.171 H 272.8°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#6478E9
RGBrgb(100, 120, 233)
HSLhsl(231, 75%, 65%)
HSVhsv(231, 57%, 91%)
CMYKcmyk(57.1%, 48.5%, 0%, 8.6%)
CIE-LABlab(54.05, 25.41, -59.63)
CIE-LCHlch(54.05, 64.82, 293.08°)
OKLaboklab(61.35% 0.0084 -0.1704)
OKLCHoklch(61.35% 0.171 272.8)
XYZxyz(26.6752, 22.0235, 79.9203)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6478E9 #E9D564
analogous
#64BBE9 #6478E9 #9264E9
triadic
#6478E9 #E96478 #78E964
tetradic
#6478E9 #E964BB #E9D564 #64E992
square
#6478E9 #E964BB #E9D564 #64E992
split-complementary
#6478E9 #E99264 #BBE964
monochromatic
#1A32B8 #2E49E1 #6478E9 #9AA7F1 #CFD5F8

Accessibility & contrast

On white

3.89
#6478E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#6478E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6478E9
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6478E9#FFFFFF#000000##000000
##6478E91.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F87ED
Deuteranopia (green-blind)
#2A7CE7
Tritanopia (blue-blind)
#0091A5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6478e9;
/* rgb */ color: rgb(100, 120, 233);
/* oklch */ color: oklch(61.3% 0.171 272.8);
Tailwind
colors: {
  custom: {
    50: '#9a9ef1',
    500: '#6478e9',
    950: '#000000',
  },
}
SCSS
$custom: #6478e9;
$custom-light: #9a9ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#6478e9",
  "rgb": {
    "r": 100,
    "g": 120,
    "b": 233
  },
  "hsl": {
    "h": 230.977,
    "s": 75.141,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61349,
    "c": 0.17057,
    "h": 272.8
  },
  "luminance": 0.22025
}

Semantic roles & 50–950 ramp

primary
#6478E9
secondary
#EBE4BE
accent
#B90ED7
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6478E9

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

Preview Lab → · Contrast checker → · Palette generator →

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