#6478F1#6478F1

#6478F1 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.9% C 0.181 H 272.9°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#6478F1
RGBrgb(100, 120, 241)
HSLhsl(231, 83%, 67%)
HSVhsv(231, 59%, 95%)
CMYKcmyk(58.5%, 50.2%, 0%, 5.5%)
CIE-LABlab(54.54, 28.00, -63.30)
CIE-LCHlch(54.54, 69.22, 293.86°)
OKLaboklab(61.88% 0.0092 -0.1811)
OKLCHoklch(61.88% 0.181 272.9)
XYZxyz(27.8440, 22.4910, 86.0759)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6478F1 #F1DD64
analogous
#64BFF1 #6478F1 #9664F1
triadic
#6478F1 #F16478 #78F164
tetradic
#6478F1 #F164BF #F1DD64 #64F196
square
#6478F1 #F164BF #F1DD64 #64F196
split-complementary
#6478F1 #F19664 #BFF164
monochromatic
#122CC8 #2C47EC #6478F1 #9CA9F6 #D4DAFB

Accessibility & contrast

On white

3.82
#6478F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#6478F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6478F1
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6478F1#FFFFFF#000000##000000
##6478F11.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3689F5
Deuteranopia (green-blind)
#167DEE
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6478f1;
/* rgb */ color: rgb(100, 120, 241);
/* oklch */ color: oklch(61.9% 0.181 272.9);
Tailwind
colors: {
  custom: {
    50: '#9b9ef6',
    500: '#6478f1',
    950: '#000000',
  },
}
SCSS
$custom: #6478f1;
$custom-light: #9b9ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#6478f1",
  "rgb": {
    "r": 100,
    "g": 120,
    "b": 241
  },
  "hsl": {
    "h": 231.489,
    "s": 83.432,
    "l": 66.863
  },
  "oklch": {
    "l": 0.6188,
    "c": 0.18138,
    "h": 272.9
  },
  "luminance": 0.22493
}

Semantic roles & 50–950 ramp

primary
#6478F1
secondary
#EFE9C2
accent
#C106E0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6478F1

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

Preview Lab → · Contrast checker → · Palette generator →

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