#604ED1#604ED1

#604ED1 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.8% C 0.193 H 283.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#604ED1
RGBrgb(96, 78, 209)
HSLhsl(248, 59%, 56%)
HSVhsv(248, 63%, 82%)
CMYKcmyk(54.1%, 62.7%, 0%, 18%)
CIE-LABlab(42.06, 42.37, -65.42)
CIE-LCHlch(42.06, 77.95, 302.93°)
OKLaboklab(51.83% 0.0455 -0.1878)
OKLCHoklch(51.83% 0.193 283.6)
XYZxyz(19.0534, 12.5379, 61.7253)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604ED1 #BFD14E
analogous
#4E7ED1 #604ED1 #A24ED1
triadic
#604ED1 #D1604E #4ED160
tetradic
#604ED1 #D14E7E #BFD14E #4ED1A2
square
#604ED1 #D14E7E #BFD14E #4ED1A2
split-complementary
#604ED1 #D1A24E #7ED14E
monochromatic
#2F2283 #412FB3 #604ED1 #8C7FDE #B7AFEA

Accessibility & contrast

On white

5.99
#604ED1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#604ED1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604ED1
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604ED1#FFFFFF#000000##FFFFFF
##604ED11.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D5
Deuteranopia (green-blind)
#005FCE
Tritanopia (blue-blind)
#2E6E88
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #604ed1;
/* rgb */ color: rgb(96, 78, 209);
/* oklch */ color: oklch(51.8% 0.193 283.6);
Tailwind
colors: {
  custom: {
    50: '#9780e0',
    500: '#604ed1',
    950: '#000000',
  },
}
SCSS
$custom: #604ed1;
$custom-light: #9780e0;
$custom-dark: #000000;
JSON
{
  "hex": "#604ed1",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 209
  },
  "hsl": {
    "h": 248.244,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51831,
    "c": 0.19325,
    "h": 283.6
  },
  "luminance": 0.12539
}

Semantic roles & 50–950 ramp

primary
#604ED1
secondary
#D1D8A2
accent
#E246CC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #604ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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