#604CD1#604CD1

#604CD1 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.5% C 0.196 H 284.0°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#604CD1
RGBrgb(96, 76, 209)
HSLhsl(249, 59%, 56%)
HSVhsv(249, 64%, 82%)
CMYKcmyk(54.1%, 63.6%, 0%, 18%)
CIE-LABlab(41.62, 43.53, -66.13)
CIE-LCHlch(41.62, 79.17, 303.36°)
OKLaboklab(51.52% 0.0474 -0.1899)
OKLCHoklch(51.52% 0.196 284)
XYZxyz(18.9134, 12.2580, 61.6787)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CD1 #BDD14C
analogous
#4C7AD1 #604CD1 #A34CD1
triadic
#604CD1 #D1604C #4CD160
tetradic
#604CD1 #D14C7A #BDD14C #4CD1A3
square
#604CD1 #D14C7A #BDD14C #4CD1A3
split-complementary
#604CD1 #D1A34C #7AD14C
monochromatic
#302181 #422EB2 #604CD1 #8B7DDE #B6ADEA

Accessibility & contrast

On white

6.08
#604CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#604CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CD1
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CD1#FFFFFF#000000##FFFFFF
##604CD11.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D5
Deuteranopia (green-blind)
#005ECE
Tritanopia (blue-blind)
#2E6D88
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #604cd1;
/* rgb */ color: rgb(96, 76, 209);
/* oklch */ color: oklch(51.5% 0.196 284.0);
Tailwind
colors: {
  custom: {
    50: '#977fe0',
    500: '#604cd1',
    950: '#000000',
  },
}
SCSS
$custom: #604cd1;
$custom-light: #977fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#604cd1",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 249.023,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51515,
    "c": 0.19572,
    "h": 284
  },
  "luminance": 0.12259
}

Semantic roles & 50–950 ramp

primary
#604CD1
secondary
#D0D8A1
accent
#E246CB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #604CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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