#604EE6#604EE6

#604EE6 is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.6% C 0.219 H 281.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#604EE6
RGBrgb(96, 78, 230)
HSLhsl(247, 75%, 60%)
HSVhsv(247, 66%, 90%)
CMYKcmyk(58.3%, 66.1%, 0%, 9.8%)
CIE-LABlab(43.72, 48.76, -74.70)
CIE-LCHlch(43.72, 89.20, 303.14°)
OKLaboklab(53.56% 0.0433 -0.215)
OKLCHoklch(53.56% 0.219 281.4)
XYZxyz(21.8267, 13.6473, 76.3316)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604EE6 #D4E64E
analogous
#4E88E6 #604EE6 #AC4EE6
triadic
#604EE6 #E6604E #4EE660
tetradic
#604EE6 #E64E88 #D4E64E #4EE6AC
square
#604EE6 #E64E88 #D4E64E #4EE6AC
split-complementary
#604EE6 #E6AC4E #88E64E
monochromatic
#2817A3 #351FD8 #604EE6 #9084EE #C0B9F5

Accessibility & contrast

On white

5.63
#604EE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#604EE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604EE6
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604EE6#FFFFFF#000000##FFFFFF
##604EE61.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEB
Deuteranopia (green-blind)
#0062E3
Tritanopia (blue-blind)
#007593
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #604ee6;
/* rgb */ color: rgb(96, 78, 230);
/* oklch */ color: oklch(53.6% 0.219 281.4);
Tailwind
colors: {
  custom: {
    50: '#9a81ef',
    500: '#604ee6',
    950: '#000000',
  },
}
SCSS
$custom: #604ee6;
$custom-light: #9a81ef;
$custom-dark: #000000;
JSON
{
  "hex": "#604ee6",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 230
  },
  "hsl": {
    "h": 247.105,
    "s": 75.248,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53556,
    "c": 0.21936,
    "h": 281.4
  },
  "luminance": 0.13649
}

Semantic roles & 50–950 ramp

primary
#604EE6
secondary
#DEE5AB
accent
#D70EC0
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #604EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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