#604ED7#604ED7

#604ED7 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.3% C 0.201 H 282.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#604ED7
RGBrgb(96, 78, 215)
HSLhsl(248, 63%, 57%)
HSVhsv(248, 64%, 84%)
CMYKcmyk(55.3%, 63.7%, 0%, 15.7%)
CIE-LABlab(42.52, 44.20, -68.11)
CIE-LCHlch(42.52, 81.20, 302.98°)
OKLaboklab(52.31% 0.0449 -0.1957)
OKLCHoklch(52.31% 0.201 282.9)
XYZxyz(19.8102, 12.8407, 65.7114)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604ED7 #C5D74E
analogous
#4E81D7 #604ED7 #A44ED7
triadic
#604ED7 #D7604E #4ED760
tetradic
#604ED7 #D74E81 #C5D74E #4ED7A4
square
#604ED7 #D74E81 #C5D74E #4ED7A4
split-complementary
#604ED7 #D7A44E #81D74E
monochromatic
#2E1F8B #3E2BBD #604ED7 #8D80E2 #BAB2EE

Accessibility & contrast

On white

5.88
#604ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#604ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604ED7
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604ED7#FFFFFF#000000##FFFFFF
##604ED71.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#0060D4
Tritanopia (blue-blind)
#26708B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #604ed7;
/* rgb */ color: rgb(96, 78, 215);
/* oklch */ color: oklch(52.3% 0.201 282.9);
Tailwind
colors: {
  custom: {
    50: '#9881e4',
    500: '#604ed7',
    950: '#000000',
  },
}
SCSS
$custom: #604ed7;
$custom-light: #9881e4;
$custom-dark: #000000;
JSON
{
  "hex": "#604ed7",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 215
  },
  "hsl": {
    "h": 247.883,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52314,
    "c": 0.20082,
    "h": 282.9
  },
  "luminance": 0.12842
}

Semantic roles & 50–950 ramp

primary
#604ED7
secondary
#D5DCA5
accent
#E642D1
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #604ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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