#6578E4#6578E4

#6578E4 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.1% C 0.163 H 273.1°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#6578E4
RGBrgb(101, 120, 228)
HSLhsl(231, 70%, 65%)
HSVhsv(231, 56%, 89%)
CMYKcmyk(55.7%, 47.4%, 0%, 10.6%)
CIE-LABlab(53.81, 24.00, -57.21)
CIE-LCHlch(53.81, 62.04, 292.76°)
OKLaboklab(61.09% 0.0089 -0.1632)
OKLCHoklch(61.09% 0.163 273.1)
XYZxyz(26.0823, 21.7992, 76.2170)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6578E4 #E4D165
analogous
#65B7E4 #6578E4 #9265E4
triadic
#6578E4 #E46578 #78E465
tetradic
#6578E4 #E465B7 #E4D165 #65E492
square
#6578E4 #E465B7 #E4D165 #65E492
split-complementary
#6578E4 #E49265 #B7E465
monochromatic
#1F35B0 #314ADB #6578E4 #99A6ED #CDD3F6

Accessibility & contrast

On white

3.92
#6578E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#6578E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6578E4
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6578E4#FFFFFF#000000##000000
##6578E41.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4486E8
Deuteranopia (green-blind)
#337BE2
Tritanopia (blue-blind)
#1A90A3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6578e4;
/* rgb */ color: rgb(101, 120, 228);
/* oklch */ color: oklch(61.1% 0.163 273.1);
Tailwind
colors: {
  custom: {
    50: '#9a9eed',
    500: '#6578e4',
    950: '#000000',
  },
}
SCSS
$custom: #6578e4;
$custom-light: #9a9eed;
$custom-dark: #000000;
JSON
{
  "hex": "#6578e4",
  "rgb": {
    "r": 101,
    "g": 120,
    "b": 228
  },
  "hsl": {
    "h": 231.024,
    "s": 70.166,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61088,
    "c": 0.16346,
    "h": 273.1
  },
  "luminance": 0.21801
}

Semantic roles & 50–950 ramp

primary
#6578E4
secondary
#E8E2BC
accent
#B613D2
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6578E4

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

Preview Lab → · Contrast checker → · Palette generator →

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