#604DC7#604DC7

#604DC7 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.9% C 0.182 H 285.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#604DC7
RGBrgb(96, 77, 199)
HSLhsl(249, 52%, 54%)
HSVhsv(249, 61%, 78%)
CMYKcmyk(51.8%, 61.3%, 0%, 22%)
CIE-LABlab(41.08, 39.92, -61.23)
CIE-LCHlch(41.08, 73.10, 303.11°)
OKLaboklab(50.88% 0.0472 -0.1755)
OKLCHoklch(50.88% 0.182 285)
XYZxyz(17.7835, 11.9171, 55.3849)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604DC7 #B4C74D
analogous
#4D77C7 #604DC7 #9D4DC7
triadic
#604DC7 #C7604D #4DC760
tetradic
#604DC7 #C74D77 #B4C74D #4DC79D
square
#604DC7 #C74D77 #B4C74D #4DC79D
split-complementary
#604DC7 #C79D4D #77C74D
monochromatic
#312575 #4533A3 #604DC7 #8A7CD6 #B3AAE4

Accessibility & contrast

On white

6.21
#604DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#604DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604DC7
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604DC7#FFFFFF#000000##FFFFFF
##604DC71.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#005DC4
Tritanopia (blue-blind)
#386A83
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #604dc7;
/* rgb */ color: rgb(96, 77, 199);
/* oklch */ color: oklch(50.9% 0.182 285.0);
Tailwind
colors: {
  custom: {
    50: '#9680d9',
    500: '#604dc7',
    950: '#000000',
  },
}
SCSS
$custom: #604dc7;
$custom-light: #9680d9;
$custom-dark: #000000;
JSON
{
  "hex": "#604dc7",
  "rgb": {
    "r": 96,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 249.344,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50884,
    "c": 0.18172,
    "h": 285
  },
  "luminance": 0.11918
}

Semantic roles & 50–950 ramp

primary
#604DC7
secondary
#CAD29E
accent
#DC4CC5
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #604DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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