#604CCF#604CCF

#604CCF is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.4% C 0.193 H 284.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#604CCF
RGBrgb(96, 76, 207)
HSLhsl(249, 58%, 55%)
HSVhsv(249, 63%, 81%)
CMYKcmyk(53.6%, 63.3%, 0%, 18.8%)
CIE-LABlab(41.47, 42.93, -65.23)
CIE-LCHlch(41.47, 78.09, 303.35°)
OKLaboklab(51.35% 0.0476 -0.1873)
OKLCHoklch(51.35% 0.193 284.3)
XYZxyz(18.6674, 12.1596, 60.3828)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CCF #BBCF4C
analogous
#4C7ACF #604CCF #A14CCF
triadic
#604CCF #CF604C #4CCF60
tetradic
#604CCF #CF4C7A #BBCF4C #4CCFA1
square
#604CCF #CF4C7A #BBCF4C #4CCFA1
split-complementary
#604CCF #CFA14C #7ACF4C
monochromatic
#30227F #422FAF #604CCF #8B7CDC #B6ADE9

Accessibility & contrast

On white

6.12
#604CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#604CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CCF
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CCF#FFFFFF#000000##FFFFFF
##604CCF1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#306C86
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #604ccf;
/* rgb */ color: rgb(96, 76, 207);
/* oklch */ color: oklch(51.4% 0.193 284.3);
Tailwind
colors: {
  custom: {
    50: '#977fdf',
    500: '#604ccf',
    950: '#000000',
  },
}
SCSS
$custom: #604ccf;
$custom-light: #977fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#604ccf",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 207
  },
  "hsl": {
    "h": 249.16,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51354,
    "c": 0.19321,
    "h": 284.3
  },
  "luminance": 0.12161
}

Semantic roles & 50–950 ramp

primary
#604CCF
secondary
#CED7A0
accent
#E147C9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #604CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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