#604DC5#604DC5

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

Color values

HEX#604DC5
RGBrgb(96, 77, 197)
HSLhsl(250, 51%, 54%)
HSVhsv(250, 61%, 77%)
CMYKcmyk(51.3%, 60.9%, 0%, 22.7%)
CIE-LABlab(40.94, 39.32, -60.31)
CIE-LCHlch(40.94, 71.99, 303.10°)
OKLaboklab(50.73% 0.0473 -0.1728)
OKLCHoklch(50.73% 0.179 285.3)
XYZxyz(17.5528, 11.8249, 54.1700)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604DC5 #B2C54D
analogous
#4D76C5 #604DC5 #9C4DC5
triadic
#604DC5 #C5604D #4DC560
tetradic
#604DC5 #C54D76 #B2C54D #4DC59C
square
#604DC5 #C54D76 #B2C54D #4DC59C
split-complementary
#604DC5 #C59C4D #76C54D
monochromatic
#312572 #4534A0 #604DC5 #897BD4 #B2A9E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##604DC5#FFFFFF#000000##FFFFFF
##604DC51.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)
#0064C9
Deuteranopia (green-blind)
#005DC3
Tritanopia (blue-blind)
#396982
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #604dc5;
/* rgb */ color: rgb(96, 77, 197);
/* oklch */ color: oklch(50.7% 0.179 285.3);
Tailwind
colors: {
  custom: {
    50: '#9580d7',
    500: '#604dc5',
    950: '#000000',
  },
}
SCSS
$custom: #604dc5;
$custom-light: #9580d7;
$custom-dark: #000000;
JSON
{
  "hex": "#604dc5",
  "rgb": {
    "r": 96,
    "g": 77,
    "b": 197
  },
  "hsl": {
    "h": 249.5,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50729,
    "c": 0.17913,
    "h": 285.3
  },
  "luminance": 0.11826
}

Semantic roles & 50–950 ramp

primary
#604DC5
secondary
#C8D19D
accent
#DA4DC4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #604DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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