#604CD5#604CD5

#604CD5 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.8% C 0.201 H 283.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#604CD5
RGBrgb(96, 76, 213)
HSLhsl(249, 62%, 57%)
HSVhsv(249, 64%, 84%)
CMYKcmyk(54.9%, 64.3%, 0%, 16.5%)
CIE-LABlab(41.94, 44.74, -67.92)
CIE-LCHlch(41.94, 81.34, 303.37°)
OKLaboklab(51.84% 0.047 -0.1952)
OKLCHoklch(51.84% 0.201 283.5)
XYZxyz(19.4149, 12.4586, 64.3196)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CD5 #C1D54C
analogous
#4C7DD5 #604CD5 #A54CD5
triadic
#604CD5 #D5604C #4CD560
tetradic
#604CD5 #D54C7D #C1D54C #4CD5A5
square
#604CD5 #D54C7D #C1D54C #4CD5A5
split-complementary
#604CD5 #D5A54C #7DD54C
monochromatic
#2F2087 #402BB9 #604CD5 #8C7EE1 #B8AFEC

Accessibility & contrast

On white

6.01
#604CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#604CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CD5
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CD5#FFFFFF#000000##FFFFFF
##604CD51.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#005ED2
Tritanopia (blue-blind)
#296E8A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #604cd5;
/* rgb */ color: rgb(96, 76, 213);
/* oklch */ color: oklch(51.8% 0.201 283.5);
Tailwind
colors: {
  custom: {
    50: '#987fe3',
    500: '#604cd5',
    950: '#000000',
  },
}
SCSS
$custom: #604cd5;
$custom-light: #987fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#604cd5",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 248.759,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51839,
    "c": 0.20074,
    "h": 283.5
  },
  "luminance": 0.1246
}

Semantic roles & 50–950 ramp

primary
#604CD5
secondary
#D2DAA2
accent
#E543CD
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #604CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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