#604EC5#604EC5

#604EC5 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.9% C 0.178 H 285.1°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#604EC5
RGBrgb(96, 78, 197)
HSLhsl(249, 51%, 54%)
HSVhsv(249, 60%, 77%)
CMYKcmyk(51.3%, 60.4%, 0%, 22.7%)
CIE-LABlab(41.16, 38.73, -59.94)
CIE-LCHlch(41.16, 71.37, 302.86°)
OKLaboklab(50.89% 0.0462 -0.1717)
OKLCHoklch(50.89% 0.178 285.1)
XYZxyz(17.6233, 11.9659, 54.1935)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604EC5 #B3C54E
analogous
#4E78C5 #604EC5 #9C4EC5
triadic
#604EC5 #C5604E #4EC560
tetradic
#604EC5 #C54E78 #B3C54E #4EC59C
square
#604EC5 #C54E78 #B3C54E #4EC59C
split-complementary
#604EC5 #C59C4E #78C54E
monochromatic
#312673 #4535A1 #604EC5 #897CD4 #B3AAE3

Accessibility & contrast

On white

6.19
#604EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#604EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604EC5
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604EC5#FFFFFF#000000##FFFFFF
##604EC51.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C9
Deuteranopia (green-blind)
#005DC3
Tritanopia (blue-blind)
#396A82
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #604ec5;
/* rgb */ color: rgb(96, 78, 197);
/* oklch */ color: oklch(50.9% 0.178 285.1);
Tailwind
colors: {
  custom: {
    50: '#9580d7',
    500: '#604ec5',
    950: '#000000',
  },
}
SCSS
$custom: #604ec5;
$custom-light: #9580d7;
$custom-dark: #000000;
JSON
{
  "hex": "#604ec5",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 197
  },
  "hsl": {
    "h": 249.076,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50894,
    "c": 0.17782,
    "h": 285.1
  },
  "luminance": 0.11967
}

Semantic roles & 50–950 ramp

primary
#604EC5
secondary
#C9D19E
accent
#DA4EC5
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #604EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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