#604CE1#604CE1

#604CE1 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.8% C 0.216 H 282.2°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#604CE1
RGBrgb(96, 76, 225)
HSLhsl(248, 71%, 59%)
HSVhsv(248, 66%, 88%)
CMYKcmyk(57.3%, 66.2%, 0%, 11.8%)
CIE-LABlab(42.90, 48.37, -73.21)
CIE-LCHlch(42.90, 87.74, 303.45°)
OKLaboklab(52.84% 0.0456 -0.2107)
OKLCHoklch(52.84% 0.216 282.2)
XYZxyz(20.9947, 13.0905, 72.6400)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CE1 #CDE14C
analogous
#4C83E1 #604CE1 #AB4CE1
triadic
#604CE1 #E1604C #4CE160
tetradic
#604CE1 #E14C83 #CDE14C #4CE1AB
square
#604CE1 #E14C83 #CDE14C #4CE1AB
split-complementary
#604CE1 #E1AB4C #83E14C
monochromatic
#2B1A99 #3922CD #604CE1 #8F80EA #BDB5F3

Accessibility & contrast

On white

5.80
#604CE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#604CE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CE1
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CE1#FFFFFF#000000##FFFFFF
##604CE11.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE6
Deuteranopia (green-blind)
#0060DE
Tritanopia (blue-blind)
#137290
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #604ce1;
/* rgb */ color: rgb(96, 76, 225);
/* oklch */ color: oklch(52.8% 0.216 282.2);
Tailwind
colors: {
  custom: {
    50: '#9980eb',
    500: '#604ce1',
    950: '#000000',
  },
}
SCSS
$custom: #604ce1;
$custom-light: #9980eb;
$custom-dark: #000000;
JSON
{
  "hex": "#604ce1",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 225
  },
  "hsl": {
    "h": 248.054,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52835,
    "c": 0.21554,
    "h": 282.2
  },
  "luminance": 0.13092
}

Semantic roles & 50–950 ramp

primary
#604CE1
secondary
#DAE2A7
accent
#EE3AD6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #604CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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