#604EE8#604EE8

#604EE8 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.7% C 0.222 H 281.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#604EE8
RGBrgb(96, 78, 232)
HSLhsl(247, 77%, 61%)
HSVhsv(247, 66%, 91%)
CMYKcmyk(58.6%, 66.4%, 0%, 9%)
CIE-LABlab(43.89, 49.37, -75.56)
CIE-LCHlch(43.89, 90.26, 303.16°)
OKLaboklab(53.73% 0.043 -0.2176)
OKLCHoklch(53.73% 0.222 281.2)
XYZxyz(22.1092, 13.7602, 77.8192)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604EE8 #D6E84E
analogous
#4E89E8 #604EE8 #AD4EE8
triadic
#604EE8 #E8604E #4EE860
tetradic
#604EE8 #E84E89 #D6E84E #4EE8AD
square
#604EE8 #E84E89 #D6E84E #4EE8AD
split-complementary
#604EE8 #E8AD4E #89E84E
monochromatic
#2616A6 #331DDC #604EE8 #9184EF #C1BAF6

Accessibility & contrast

On white

5.60
#604EE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#604EE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604EE8
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604EE8#FFFFFF#000000##FFFFFF
##604EE81.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DED
Deuteranopia (green-blind)
#0062E5
Tritanopia (blue-blind)
#007695
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #604ee8;
/* rgb */ color: rgb(96, 78, 232);
/* oklch */ color: oklch(53.7% 0.222 281.2);
Tailwind
colors: {
  custom: {
    50: '#9a81f0',
    500: '#604ee8',
    950: '#000000',
  },
}
SCSS
$custom: #604ee8;
$custom-light: #9a81f0;
$custom-dark: #000000;
JSON
{
  "hex": "#604ee8",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 232
  },
  "hsl": {
    "h": 247.013,
    "s": 77,
    "l": 60.784
  },
  "oklch": {
    "l": 0.53725,
    "c": 0.22179,
    "h": 281.2
  },
  "luminance": 0.13762
}

Semantic roles & 50–950 ramp

primary
#604EE8
secondary
#DFE6AC
accent
#D90CC1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #604EE8

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

Preview Lab → · Contrast checker → · Palette generator →

#604EE8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva