#604CC5#604CC5

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

Color values

HEX#604CC5
RGBrgb(96, 76, 197)
HSLhsl(250, 51%, 54%)
HSVhsv(250, 61%, 77%)
CMYKcmyk(51.3%, 61.4%, 0%, 22.7%)
CIE-LABlab(40.71, 39.91, -60.67)
CIE-LCHlch(40.71, 72.62, 303.33°)
OKLaboklab(50.57% 0.0483 -0.1738)
OKLCHoklch(50.57% 0.18 285.5)
XYZxyz(17.4834, 11.6860, 54.1469)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CC5 #B1C54C
analogous
#4C74C5 #604CC5 #9C4CC5
triadic
#604CC5 #C5604C #4CC560
tetradic
#604CC5 #C54C74 #B1C54C #4CC59C
square
#604CC5 #C54C74 #B1C54C #4CC59C
split-complementary
#604CC5 #C59C4C #74C54C
monochromatic
#322572 #4634A0 #604CC5 #897AD4 #B2A8E3

Accessibility & contrast

On white

6.29
#604CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#604CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CC5
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CC5#FFFFFF#000000##FFFFFF
##604CC51.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#005CC3
Tritanopia (blue-blind)
#396981
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #604cc5;
/* rgb */ color: rgb(96, 76, 197);
/* oklch */ color: oklch(50.6% 0.180 285.5);
Tailwind
colors: {
  custom: {
    50: '#957fd7',
    500: '#604cc5',
    950: '#000000',
  },
}
SCSS
$custom: #604cc5;
$custom-light: #957fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#604cc5",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 197
  },
  "hsl": {
    "h": 249.917,
    "s": 51.055,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50565,
    "c": 0.18044,
    "h": 285.5
  },
  "luminance": 0.11687
}

Semantic roles & 50–950 ramp

primary
#604CC5
secondary
#C8D09C
accent
#DB4DC3
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #604CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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