#604CD2#604CD2

#604CD2 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.6% C 0.197 H 283.9°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#604CD2
RGBrgb(96, 76, 210)
HSLhsl(249, 60%, 56%)
HSVhsv(249, 64%, 82%)
CMYKcmyk(54.3%, 63.8%, 0%, 17.6%)
CIE-LABlab(41.70, 43.83, -66.58)
CIE-LCHlch(41.70, 79.72, 303.36°)
OKLaboklab(51.6% 0.0473 -0.1912)
OKLCHoklch(51.6% 0.197 283.9)
XYZxyz(19.0376, 12.3077, 62.3327)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CD2 #BED24C
analogous
#4C7BD2 #604CD2 #A34CD2
triadic
#604CD2 #D2604C #4CD260
tetradic
#604CD2 #D24C7B #BED24C #4CD2A3
square
#604CD2 #D24C7B #BED24C #4CD2A3
split-complementary
#604CD2 #D2A34C #7BD24C
monochromatic
#2F2183 #412DB4 #604CD2 #8B7DDE #B7AEEB

Accessibility & contrast

On white

6.07
#604CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#604CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CD2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CD2#FFFFFF#000000##FFFFFF
##604CD21.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#005ECF
Tritanopia (blue-blind)
#2D6D88
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #604cd2;
/* rgb */ color: rgb(96, 76, 210);
/* oklch */ color: oklch(51.6% 0.197 283.9);
Tailwind
colors: {
  custom: {
    50: '#977fe1',
    500: '#604cd2',
    950: '#000000',
  },
}
SCSS
$custom: #604cd2;
$custom-light: #977fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#604cd2",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 248.955,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51595,
    "c": 0.19698,
    "h": 283.9
  },
  "luminance": 0.12309
}

Semantic roles & 50–950 ramp

primary
#604CD2
secondary
#D0D9A1
accent
#E345CB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #604CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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