#604EE5#604EE5

#604EE5 is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.5% C 0.218 H 281.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#604EE5
RGBrgb(96, 78, 229)
HSLhsl(247, 74%, 60%)
HSVhsv(247, 66%, 90%)
CMYKcmyk(58.1%, 65.9%, 0%, 10.2%)
CIE-LABlab(43.64, 48.46, -74.27)
CIE-LCHlch(43.64, 88.68, 303.12°)
OKLaboklab(53.47% 0.0434 -0.2138)
OKLCHoklch(53.47% 0.218 281.5)
XYZxyz(21.6867, 13.5912, 75.5941)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604EE5 #D3E54E
analogous
#4E88E5 #604EE5 #AB4EE5
triadic
#604EE5 #E5604E #4EE560
tetradic
#604EE5 #E54E88 #D3E54E #4EE5AB
square
#604EE5 #E54E88 #D3E54E #4EE5AB
split-complementary
#604EE5 #E5AB4E #88E54E
monochromatic
#2818A1 #351FD6 #604EE5 #9083ED #C0B9F5

Accessibility & contrast

On white

5.65
#604EE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#604EE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604EE5
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604EE5#FFFFFF#000000##FFFFFF
##604EE51.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEA
Deuteranopia (green-blind)
#0062E2
Tritanopia (blue-blind)
#037593
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #604ee5;
/* rgb */ color: rgb(96, 78, 229);
/* oklch */ color: oklch(53.5% 0.218 281.5);
Tailwind
colors: {
  custom: {
    50: '#9a81ee',
    500: '#604ee5',
    950: '#000000',
  },
}
SCSS
$custom: #604ee5;
$custom-light: #9a81ee;
$custom-dark: #000000;
JSON
{
  "hex": "#604ee5",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 229
  },
  "hsl": {
    "h": 247.152,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53471,
    "c": 0.21814,
    "h": 281.5
  },
  "luminance": 0.13593
}

Semantic roles & 50–950 ramp

primary
#604EE5
secondary
#DDE4AA
accent
#D70FBF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #604EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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