#604EC1#604EC1

#604EC1 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.6% C 0.173 H 285.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#604EC1
RGBrgb(96, 78, 193)
HSLhsl(249, 48%, 53%)
HSVhsv(249, 60%, 76%)
CMYKcmyk(50.3%, 59.6%, 0%, 24.3%)
CIE-LABlab(40.87, 37.51, -58.09)
CIE-LCHlch(40.87, 69.15, 302.86°)
OKLaboklab(50.59% 0.0464 -0.1662)
OKLCHoklch(50.59% 0.173 285.6)
XYZxyz(17.1710, 11.7850, 51.8117)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604EC1 #AFC14E
analogous
#4E75C1 #604EC1 #994EC1
triadic
#604EC1 #C1604E #4EC160
tetradic
#604EC1 #C14E75 #AFC14E #4EC199
square
#604EC1 #C14E75 #AFC14E #4EC199
split-complementary
#604EC1 #C1994E #75C14E
monochromatic
#32276E #46369B #604EC1 #897BD1 #B1A9E1

Accessibility & contrast

On white

6.26
#604EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#604EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604EC1
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604EC1#FFFFFF#000000##FFFFFF
##604EC11.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#3C6980
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #604ec1;
/* rgb */ color: rgb(96, 78, 193);
/* oklch */ color: oklch(50.6% 0.173 285.6);
Tailwind
colors: {
  custom: {
    50: '#9580d4',
    500: '#604ec1',
    950: '#000000',
  },
}
SCSS
$custom: #604ec1;
$custom-light: #9580d4;
$custom-dark: #000000;
JSON
{
  "hex": "#604ec1",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 193
  },
  "hsl": {
    "h": 249.391,
    "s": 48.117,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5059,
    "c": 0.17259,
    "h": 285.6
  },
  "luminance": 0.11786
}

Semantic roles & 50–950 ramp

primary
#604EC1
secondary
#C6CE9D
accent
#D850C2
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #604EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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