#604CC8#604CC8

#604CC8 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.8% C 0.184 H 285.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#604CC8
RGBrgb(96, 76, 200)
HSLhsl(250, 53%, 54%)
HSVhsv(250, 62%, 78%)
CMYKcmyk(52%, 62%, 0%, 21.6%)
CIE-LABlab(40.94, 40.81, -62.05)
CIE-LCHlch(40.94, 74.27, 303.33°)
OKLaboklab(50.8% 0.0481 -0.1779)
OKLCHoklch(50.8% 0.184 285.1)
XYZxyz(17.8305, 11.8249, 55.9753)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CC8 #B4C84C
analogous
#4C76C8 #604CC8 #9E4CC8
triadic
#604CC8 #C8604C #4CC860
tetradic
#604CC8 #C84C76 #B4C84C #4CC89E
square
#604CC8 #C84C76 #B4C84C #4CC89E
split-complementary
#604CC8 #C89E4C #76C84C
monochromatic
#312475 #4532A4 #604CC8 #8A7BD6 #B3AAE5

Accessibility & contrast

On white

6.24
#604CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#604CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CC8
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CC8#FFFFFF#000000##FFFFFF
##604CC81.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#005DC5
Tritanopia (blue-blind)
#376A83
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #604cc8;
/* rgb */ color: rgb(96, 76, 200);
/* oklch */ color: oklch(50.8% 0.184 285.1);
Tailwind
colors: {
  custom: {
    50: '#967fda',
    500: '#604cc8',
    950: '#000000',
  },
}
SCSS
$custom: #604cc8;
$custom-light: #967fda;
$custom-dark: #000000;
JSON
{
  "hex": "#604cc8",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 200
  },
  "hsl": {
    "h": 249.677,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50799,
    "c": 0.18429,
    "h": 285.1
  },
  "luminance": 0.11826
}

Semantic roles & 50–950 ramp

primary
#604CC8
secondary
#CAD29E
accent
#DC4BC5
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #604CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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