#604CE4#604CE4

#604CE4 is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 53.1% C 0.219 H 281.9°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#604CE4
RGBrgb(96, 76, 228)
HSLhsl(248, 74%, 60%)
HSVhsv(248, 67%, 89%)
CMYKcmyk(57.9%, 66.7%, 0%, 10.6%)
CIE-LABlab(43.15, 49.27, -74.51)
CIE-LCHlch(43.15, 89.33, 303.48°)
OKLaboklab(53.09% 0.0452 -0.2145)
OKLCHoklch(53.09% 0.219 281.9)
XYZxyz(21.4075, 13.2557, 74.8143)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CE4 #D0E44C
analogous
#4C84E4 #604CE4 #AC4CE4
triadic
#604CE4 #E4604C #4CE460
tetradic
#604CE4 #E44C84 #D0E44C #4CE4AC
square
#604CE4 #E44C84 #D0E44C #4CE4AC
split-complementary
#604CE4 #E4AC4C #84E44C
monochromatic
#29189E #3720D3 #604CE4 #8F81EC #BEB6F4

Accessibility & contrast

On white

5.75
#604CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#604CE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CE4
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CE4#FFFFFF#000000##FFFFFF
##604CE41.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE9
Deuteranopia (green-blind)
#0060E1
Tritanopia (blue-blind)
#097392
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #604ce4;
/* rgb */ color: rgb(96, 76, 228);
/* oklch */ color: oklch(53.1% 0.219 281.9);
Tailwind
colors: {
  custom: {
    50: '#9a80ee',
    500: '#604ce4',
    950: '#000000',
  },
}
SCSS
$custom: #604ce4;
$custom-light: #9a80ee;
$custom-dark: #000000;
JSON
{
  "hex": "#604ce4",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 228
  },
  "hsl": {
    "h": 247.895,
    "s": 73.786,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53089,
    "c": 0.2192,
    "h": 281.9
  },
  "luminance": 0.13257
}

Semantic roles & 50–950 ramp

primary
#604CE4
secondary
#DCE3A8
accent
#F037D8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #604CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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