#604ED8#604ED8

#604ED8 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.4% C 0.202 H 282.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#604ED8
RGBrgb(96, 78, 216)
HSLhsl(248, 64%, 58%)
HSVhsv(248, 64%, 85%)
CMYKcmyk(55.6%, 63.9%, 0%, 15.3%)
CIE-LABlab(42.60, 44.51, -68.56)
CIE-LCHlch(42.60, 81.74, 302.99°)
OKLaboklab(52.4% 0.0449 -0.197)
OKLCHoklch(52.4% 0.202 282.8)
XYZxyz(19.9391, 12.8922, 66.3902)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604ED8 #C6D84E
analogous
#4E81D8 #604ED8 #A54ED8
triadic
#604ED8 #D8604E #4ED860
tetradic
#604ED8 #D84E81 #C6D84E #4ED8A5
square
#604ED8 #D84E81 #C6D84E #4ED8A5
split-complementary
#604ED8 #D8A54E #81D84E
monochromatic
#2D1F8D #3D2ABF #604ED8 #8D80E3 #BAB2EE

Accessibility & contrast

On white

5.87
#604ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#604ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604ED8
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604ED8#FFFFFF#000000##FFFFFF
##604ED81.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DC
Deuteranopia (green-blind)
#0060D5
Tritanopia (blue-blind)
#25708C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #604ed8;
/* rgb */ color: rgb(96, 78, 216);
/* oklch */ color: oklch(52.4% 0.202 282.8);
Tailwind
colors: {
  custom: {
    50: '#9881e5',
    500: '#604ed8',
    950: '#000000',
  },
}
SCSS
$custom: #604ed8;
$custom-light: #9881e5;
$custom-dark: #000000;
JSON
{
  "hex": "#604ed8",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 216
  },
  "hsl": {
    "h": 247.826,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52395,
    "c": 0.20207,
    "h": 282.8
  },
  "luminance": 0.12893
}

Semantic roles & 50–950 ramp

primary
#604ED8
secondary
#D5DDA5
accent
#E741D1
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #604ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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