#6478F2#6478F2

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

Color values

HEX#6478F2
RGBrgb(100, 120, 242)
HSLhsl(232, 85%, 67%)
HSVhsv(232, 59%, 95%)
CMYKcmyk(58.7%, 50.4%, 0%, 5.1%)
CIE-LABlab(54.61, 28.33, -63.76)
CIE-LCHlch(54.61, 69.77, 293.96°)
OKLaboklab(61.95% 0.0093 -0.1825)
OKLCHoklch(61.95% 0.183 272.9)
XYZxyz(27.9937, 22.5509, 86.8648)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6478F2 #F2DE64
analogous
#64BFF2 #6478F2 #9764F2
triadic
#6478F2 #F26478 #78F264
tetradic
#6478F2 #F264BF #F2DE64 #64F297
square
#6478F2 #F264BF #F2DE64 #64F297
split-complementary
#6478F2 #F29764 #BFF264
monochromatic
#112BCB #2C47ED #6478F2 #9CA9F7 #D5DAFB

Accessibility & contrast

On white

3.81
#6478F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#6478F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6478F2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6478F2#FFFFFF#000000##000000
##6478F21.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3589F6
Deuteranopia (green-blind)
#127DEF
Tritanopia (blue-blind)
#0094AA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6478f2;
/* rgb */ color: rgb(100, 120, 242);
/* oklch */ color: oklch(61.9% 0.183 272.9);
Tailwind
colors: {
  custom: {
    50: '#9c9ef7',
    500: '#6478f2',
    950: '#000000',
  },
}
SCSS
$custom: #6478f2;
$custom-light: #9c9ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#6478f2",
  "rgb": {
    "r": 100,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 231.549,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61947,
    "c": 0.18273,
    "h": 272.9
  },
  "luminance": 0.22553
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6478F2

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

Preview Lab → · Contrast checker → · Palette generator →

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