#604EE7#604EE7

#604EE7 is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.6% C 0.221 H 281.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#604EE7
RGBrgb(96, 78, 231)
HSLhsl(247, 76%, 61%)
HSVhsv(247, 66%, 91%)
CMYKcmyk(58.4%, 66.2%, 0%, 9.4%)
CIE-LABlab(43.80, 49.06, -75.13)
CIE-LCHlch(43.80, 89.73, 303.15°)
OKLaboklab(53.64% 0.0432 -0.2163)
OKLCHoklch(53.64% 0.221 281.3)
XYZxyz(21.9675, 13.7036, 77.0733)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604EE7 #D5E74E
analogous
#4E88E7 #604EE7 #AC4EE7
triadic
#604EE7 #E7604E #4EE760
tetradic
#604EE7 #E74E88 #D5E74E #4EE7AC
square
#604EE7 #E74E88 #D5E74E #4EE7AC
split-complementary
#604EE7 #E7AC4E #88E74E
monochromatic
#2716A4 #341EDA #604EE7 #9084EE #C1BAF6

Accessibility & contrast

On white

5.61
#604EE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#604EE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604EE7
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604EE7#FFFFFF#000000##FFFFFF
##604EE71.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEC
Deuteranopia (green-blind)
#0062E4
Tritanopia (blue-blind)
#007694
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #604ee7;
/* rgb */ color: rgb(96, 78, 231);
/* oklch */ color: oklch(53.6% 0.221 281.3);
Tailwind
colors: {
  custom: {
    50: '#9a81f0',
    500: '#604ee7',
    950: '#000000',
  },
}
SCSS
$custom: #604ee7;
$custom-light: #9a81f0;
$custom-dark: #000000;
JSON
{
  "hex": "#604ee7",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 231
  },
  "hsl": {
    "h": 247.059,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5364,
    "c": 0.22058,
    "h": 281.3
  },
  "luminance": 0.13705
}

Semantic roles & 50–950 ramp

primary
#604EE7
secondary
#DFE5AB
accent
#D80DC0
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #604EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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