#6478C4#6478C4

#6478C4 is a mid, moderate blue. Relative luminance 0.201; OKLCH L 59.1% C 0.119 H 271.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#6478C4
RGBrgb(100, 120, 196)
HSLhsl(228, 45%, 58%)
HSVhsv(228, 49%, 77%)
CMYKcmyk(49%, 38.8%, 0%, 23.1%)
CIE-LABlab(51.98, 13.66, -42.02)
CIE-LCHlch(51.98, 44.19, 288.01°)
OKLaboklab(59.1% 0.0026 -0.1187)
OKLCHoklch(59.1% 0.119 271.2)
XYZxyz(21.9326, 20.1264, 54.9429)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6478C4 #C4B064
analogous
#64A8C4 #6478C4 #8064C4
triadic
#6478C4 #C46478 #78C464
tetradic
#6478C4 #C464A8 #C4B064 #64C480
square
#6478C4 #C464A8 #C4B064 #64C480
split-complementary
#6478C4 #C48064 #A8C464
monochromatic
#30407E #4157AA #6478C4 #909FD5 #BDC5E6

Accessibility & contrast

On white

4.18
#6478C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#6478C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6478C4
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6478C4#FFFFFF#000000##000000
##6478C41.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B80C7
Deuteranopia (green-blind)
#5178C2
Tritanopia (blue-blind)
#3D8894
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6478c4;
/* rgb */ color: rgb(100, 120, 196);
/* oklch */ color: oklch(59.1% 0.119 271.2);
Tailwind
colors: {
  custom: {
    50: '#959ed6',
    500: '#6478c4',
    950: '#000000',
  },
}
SCSS
$custom: #6478c4;
$custom-light: #959ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#6478c4",
  "rgb": {
    "r": 100,
    "g": 120,
    "b": 196
  },
  "hsl": {
    "h": 227.5,
    "s": 44.86,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59096,
    "c": 0.11875,
    "h": 271.2
  },
  "luminance": 0.20128
}

Semantic roles & 50–950 ramp

primary
#6478C4
secondary
#D5CDAF
accent
#BA53D5
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0E14
muted
#7E7E83

Preview Lab

Preview with #6478C4

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

Preview Lab → · Contrast checker → · Palette generator →

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