#6478EB#6478EB

#6478EB is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.5% C 0.173 H 272.9°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#6478EB
RGBrgb(100, 120, 235)
HSLhsl(231, 77%, 66%)
HSVhsv(231, 57%, 92%)
CMYKcmyk(57.4%, 48.9%, 0%, 7.8%)
CIE-LABlab(54.17, 26.06, -60.55)
CIE-LCHlch(54.17, 65.92, 293.28°)
OKLaboklab(61.48% 0.0087 -0.1731)
OKLCHoklch(61.48% 0.173 272.9)
XYZxyz(26.9625, 22.1384, 81.4335)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6478EB #EBD764
analogous
#64BBEB #6478EB #9364EB
triadic
#6478EB #EB6478 #78EB64
tetradic
#6478EB #EB64BB #EBD764 #64EB93
square
#6478EB #EB64BB #EBD764 #64EB93
split-complementary
#6478EB #EB9364 #BBEB64
monochromatic
#1831BC #2E49E4 #6478EB #9AA7F2 #D0D6F9

Accessibility & contrast

On white

3.87
#6478EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#6478EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6478EB
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6478EB#FFFFFF#000000##000000
##6478EB1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D88EF
Deuteranopia (green-blind)
#267CE9
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6478eb;
/* rgb */ color: rgb(100, 120, 235);
/* oklch */ color: oklch(61.5% 0.173 272.9);
Tailwind
colors: {
  custom: {
    50: '#9a9ef2',
    500: '#6478eb',
    950: '#000000',
  },
}
SCSS
$custom: #6478eb;
$custom-light: #9a9ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#6478eb",
  "rgb": {
    "r": 100,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 231.111,
    "s": 77.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61481,
    "c": 0.17329,
    "h": 272.9
  },
  "luminance": 0.2214
}

Semantic roles & 50–950 ramp

primary
#6478EB
secondary
#ECE5BF
accent
#BB0CD9
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6478EB

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

Preview Lab → · Contrast checker → · Palette generator →

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