#604CCB#604CCB

#604CCB is a mid, vivid blue. Relative luminance 0.120; OKLCH L 51.0% C 0.188 H 284.8°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#604CCB
RGBrgb(96, 76, 203)
HSLhsl(249, 55%, 55%)
HSVhsv(249, 63%, 80%)
CMYKcmyk(52.7%, 62.6%, 0%, 20.4%)
CIE-LABlab(41.16, 41.72, -63.42)
CIE-LCHlch(41.16, 75.91, 303.34°)
OKLaboklab(51.04% 0.0479 -0.1819)
OKLCHoklch(51.04% 0.188 284.8)
XYZxyz(18.1846, 11.9665, 57.8399)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CCB #B7CB4C
analogous
#4C78CB #604CCB #A04CCB
triadic
#604CCB #CB604C #4CCB60
tetradic
#604CCB #CB4C78 #B7CB4C #4CCBA0
square
#604CCB #CB4C78 #B7CB4C #4CCBA0
split-complementary
#604CCB #CBA04C #78CB4C
monochromatic
#312379 #4431A9 #604CCB #8A7BD9 #B4ABE7

Accessibility & contrast

On white

6.19
#604CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#604CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CCB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CCB#FFFFFF#000000##FFFFFF
##604CCB1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#346B84
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #604ccb;
/* rgb */ color: rgb(96, 76, 203);
/* oklch */ color: oklch(51.0% 0.188 284.8);
Tailwind
colors: {
  custom: {
    50: '#967fdc',
    500: '#604ccb',
    950: '#000000',
  },
}
SCSS
$custom: #604ccb;
$custom-light: #967fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#604ccb",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 203
  },
  "hsl": {
    "h": 249.449,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51035,
    "c": 0.18813,
    "h": 284.8
  },
  "luminance": 0.11967
}

Semantic roles & 50–950 ramp

primary
#604CCB
secondary
#CCD49F
accent
#DE49C7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #604CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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