#6478E4#6478E4

#6478E4 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.0% C 0.164 H 272.8°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#6478E4
RGBrgb(100, 120, 228)
HSLhsl(231, 70%, 64%)
HSVhsv(231, 56%, 89%)
CMYKcmyk(56.1%, 47.4%, 0%, 10.6%)
CIE-LABlab(53.75, 23.80, -57.31)
CIE-LCHlch(53.75, 62.06, 292.55°)
OKLaboklab(61.03% 0.0079 -0.1635)
OKLCHoklch(61.03% 0.164 272.8)
XYZxyz(25.9710, 21.7418, 76.2118)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6478E4 #E4D064
analogous
#64B8E4 #6478E4 #9064E4
triadic
#6478E4 #E46478 #78E464
tetradic
#6478E4 #E464B8 #E4D064 #64E490
square
#6478E4 #E464B8 #E4D064 #64E490
split-complementary
#6478E4 #E49064 #B8E464
monochromatic
#1F35AF #304BDB #6478E4 #98A5ED #CCD3F6

Accessibility & contrast

On white

3.93
#6478E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#6478E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6478E4
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6478E4#FFFFFF#000000##000000
##6478E41.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4486E8
Deuteranopia (green-blind)
#327BE2
Tritanopia (blue-blind)
#1490A3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6478e4;
/* rgb */ color: rgb(100, 120, 228);
/* oklch */ color: oklch(61.0% 0.164 272.8);
Tailwind
colors: {
  custom: {
    50: '#999eed',
    500: '#6478e4',
    950: '#000000',
  },
}
SCSS
$custom: #6478e4;
$custom-light: #999eed;
$custom-dark: #000000;
JSON
{
  "hex": "#6478e4",
  "rgb": {
    "r": 100,
    "g": 120,
    "b": 228
  },
  "hsl": {
    "h": 230.625,
    "s": 70.33,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61025,
    "c": 0.16374,
    "h": 272.8
  },
  "luminance": 0.21744
}

Semantic roles & 50–950 ramp

primary
#6478E4
secondary
#E8E1BC
accent
#B413D2
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6478E4

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

Preview Lab → · Contrast checker → · Palette generator →

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