#604FE7#604FE7

#604FE7 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.8% C 0.219 H 281.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#604FE7
RGBrgb(96, 79, 231)
HSLhsl(247, 76%, 61%)
HSVhsv(247, 66%, 91%)
CMYKcmyk(58.4%, 65.8%, 0%, 9.4%)
CIE-LABlab(44.01, 48.50, -74.79)
CIE-LCHlch(44.01, 89.14, 302.96°)
OKLaboklab(53.79% 0.0423 -0.2153)
OKLCHoklch(53.79% 0.219 281.1)
XYZxyz(22.0391, 13.8468, 77.0971)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FE7 #D6E74F
analogous
#4F8AE7 #604FE7 #AC4FE7
triadic
#604FE7 #E7604F #4FE760
tetradic
#604FE7 #E74F8A #D6E74F #4FE7AC
square
#604FE7 #E74F8A #D6E74F #4FE7AC
split-complementary
#604FE7 #E7AC4F #8AE74F
monochromatic
#2617A5 #331EDB #604FE7 #9185EE #C1BBF6

Accessibility & contrast

On white

5.57
#604FE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#604FE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FE7
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FE7#FFFFFF#000000##FFFFFF
##604FE71.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEC
Deuteranopia (green-blind)
#0062E4
Tritanopia (blue-blind)
#007694
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #604fe7;
/* rgb */ color: rgb(96, 79, 231);
/* oklch */ color: oklch(53.8% 0.219 281.1);
Tailwind
colors: {
  custom: {
    50: '#9a82f0',
    500: '#604fe7',
    950: '#000000',
  },
}
SCSS
$custom: #604fe7;
$custom-light: #9a82f0;
$custom-dark: #000000;
JSON
{
  "hex": "#604fe7",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 246.711,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.5379,
    "c": 0.21944,
    "h": 281.1
  },
  "luminance": 0.13848
}

Semantic roles & 50–950 ramp

primary
#604FE7
secondary
#DFE6AC
accent
#D80DC1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #604FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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