#604CE5#604CE5

#604CE5 is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 53.2% C 0.220 H 281.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#604CE5
RGBrgb(96, 76, 229)
HSLhsl(248, 75%, 60%)
HSVhsv(248, 67%, 90%)
CMYKcmyk(58.1%, 66.8%, 0%, 10.2%)
CIE-LABlab(43.23, 49.58, -74.94)
CIE-LCHlch(43.23, 89.85, 303.49°)
OKLaboklab(53.17% 0.0451 -0.2158)
OKLCHoklch(53.17% 0.22 281.8)
XYZxyz(21.5468, 13.3114, 75.5475)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CE5 #D1E54C
analogous
#4C85E5 #604CE5 #AC4CE5
triadic
#604CE5 #E5604C #4CE560
tetradic
#604CE5 #E54C85 #D1E54C #4CE5AC
square
#604CE5 #E54C85 #D1E54C #4CE5AC
split-complementary
#604CE5 #E5AC4C #85E54C
monochromatic
#29179F #371FD5 #604CE5 #8F81ED #BFB7F5

Accessibility & contrast

On white

5.73
#604CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#604CE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CE5
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CE5#FFFFFF#000000##FFFFFF
##604CE51.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEA
Deuteranopia (green-blind)
#0061E2
Tritanopia (blue-blind)
#047492
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #604ce5;
/* rgb */ color: rgb(96, 76, 229);
/* oklch */ color: oklch(53.2% 0.220 281.8);
Tailwind
colors: {
  custom: {
    50: '#9a80ee',
    500: '#604ce5',
    950: '#000000',
  },
}
SCSS
$custom: #604ce5;
$custom-light: #9a80ee;
$custom-dark: #000000;
JSON
{
  "hex": "#604ce5",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 229
  },
  "hsl": {
    "h": 247.843,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53174,
    "c": 0.22041,
    "h": 281.8
  },
  "luminance": 0.13313
}

Semantic roles & 50–950 ramp

primary
#604CE5
secondary
#DCE4A9
accent
#F137D9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #604CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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