#604FC2#604FC2

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

Color values

HEX#604FC2
RGBrgb(96, 79, 194)
HSLhsl(249, 49%, 54%)
HSVhsv(249, 59%, 76%)
CMYKcmyk(50.5%, 59.3%, 0%, 23.9%)
CIE-LABlab(41.17, 37.22, -58.18)
CIE-LCHlch(41.17, 69.07, 302.61°)
OKLaboklab(50.83% 0.0453 -0.1665)
OKLCHoklch(50.83% 0.173 285.2)
XYZxyz(17.3546, 11.9729, 52.4250)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FC2 #B1C24F
analogous
#4F77C2 #604FC2 #994FC2
triadic
#604FC2 #C2604F #4FC260
tetradic
#604FC2 #C24F77 #B1C24F #4FC299
square
#604FC2 #C24F77 #B1C24F #4FC299
split-complementary
#604FC2 #C2994F #77C24F
monochromatic
#322770 #46379D #604FC2 #897CD2 #B2AAE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##604FC2#FFFFFF#000000##FFFFFF
##604FC21.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)
#0064C6
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#3B6A81
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #604fc2;
/* rgb */ color: rgb(96, 79, 194);
/* oklch */ color: oklch(50.8% 0.173 285.2);
Tailwind
colors: {
  custom: {
    50: '#9581d5',
    500: '#604fc2',
    950: '#000000',
  },
}
SCSS
$custom: #604fc2;
$custom-light: #9581d5;
$custom-dark: #000000;
JSON
{
  "hex": "#604fc2",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 248.87,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50834,
    "c": 0.17256,
    "h": 285.2
  },
  "luminance": 0.11974
}

Semantic roles & 50–950 ramp

primary
#604FC2
secondary
#C8CF9E
accent
#D850C4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #604FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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