#6478CC#6478CC

#6478CC is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.6% C 0.130 H 271.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#6478CC
RGBrgb(100, 120, 204)
HSLhsl(228, 50%, 60%)
HSVhsv(228, 51%, 80%)
CMYKcmyk(51%, 41.2%, 0%, 20%)
CIE-LABlab(52.40, 16.16, -45.92)
CIE-LCHlch(52.40, 48.68, 289.39°)
OKLaboklab(59.55% 0.0042 -0.1301)
OKLCHoklch(59.55% 0.13 271.8)
XYZxyz(22.8676, 20.5004, 59.8670)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6478CC #CCB864
analogous
#64ACCC #6478CC #8464CC
triadic
#6478CC #CC6478 #78CC64
tetradic
#6478CC #CC64AC #CCB864 #64CC84
square
#6478CC #CC64AC #CCB864 #64CC84
split-complementary
#6478CC #CC8464 #ACCC64
monochromatic
#2D3F89 #3C54B7 #6478CC #92A0DB #C0C8EA

Accessibility & contrast

On white

4.12
#6478CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#6478CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6478CC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6478CC#FFFFFF#000000##000000
##6478CC1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5682CF
Deuteranopia (green-blind)
#4B79CA
Tritanopia (blue-blind)
#378A98
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6478cc;
/* rgb */ color: rgb(100, 120, 204);
/* oklch */ color: oklch(59.6% 0.130 271.8);
Tailwind
colors: {
  custom: {
    50: '#969edc',
    500: '#6478cc',
    950: '#000000',
  },
}
SCSS
$custom: #6478cc;
$custom-light: #969edc;
$custom-dark: #000000;
JSON
{
  "hex": "#6478cc",
  "rgb": {
    "r": 100,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 228.462,
    "s": 50.485,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59554,
    "c": 0.13019,
    "h": 271.8
  },
  "luminance": 0.20502
}

Semantic roles & 50–950 ramp

primary
#6478CC
secondary
#DAD2B2
accent
#BF4EDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6478CC

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

Preview Lab → · Contrast checker → · Palette generator →

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