#604CC6#604CC6

#604CC6 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.6% C 0.182 H 285.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#604CC6
RGBrgb(96, 76, 198)
HSLhsl(250, 52%, 54%)
HSVhsv(250, 62%, 78%)
CMYKcmyk(51.5%, 61.6%, 0%, 22.4%)
CIE-LABlab(40.79, 40.21, -61.13)
CIE-LCHlch(40.79, 73.17, 303.33°)
OKLaboklab(50.64% 0.0483 -0.1752)
OKLCHoklch(50.64% 0.182 285.4)
XYZxyz(17.5983, 11.7320, 54.7523)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CC6 #B2C64C
analogous
#4C75C6 #604CC6 #9D4CC6
triadic
#604CC6 #C6604C #4CC660
tetradic
#604CC6 #C64C75 #B2C64C #4CC69D
square
#604CC6 #C64C75 #B2C64C #4CC69D
split-complementary
#604CC6 #C69D4C #75C64C
monochromatic
#312573 #4533A1 #604CC6 #897AD5 #B2A9E4

Accessibility & contrast

On white

6.28
#604CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#604CC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CC6
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CC6#FFFFFF#000000##FFFFFF
##604CC61.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CA
Deuteranopia (green-blind)
#005CC3
Tritanopia (blue-blind)
#396982
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #604cc6;
/* rgb */ color: rgb(96, 76, 198);
/* oklch */ color: oklch(50.6% 0.182 285.4);
Tailwind
colors: {
  custom: {
    50: '#957fd8',
    500: '#604cc6',
    950: '#000000',
  },
}
SCSS
$custom: #604cc6;
$custom-light: #957fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#604cc6",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 198
  },
  "hsl": {
    "h": 249.836,
    "s": 51.695,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50643,
    "c": 0.18173,
    "h": 285.4
  },
  "luminance": 0.11733
}

Semantic roles & 50–950 ramp

primary
#604CC6
secondary
#C8D19D
accent
#DB4DC4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #604CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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