#604ED2#604ED2

#604ED2 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.9% C 0.195 H 283.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#604ED2
RGBrgb(96, 78, 210)
HSLhsl(248, 59%, 56%)
HSVhsv(248, 63%, 82%)
CMYKcmyk(54.3%, 62.9%, 0%, 17.6%)
CIE-LABlab(42.14, 42.68, -65.87)
CIE-LCHlch(42.14, 78.49, 302.94°)
OKLaboklab(51.91% 0.0454 -0.1891)
OKLCHoklch(51.91% 0.195 283.5)
XYZxyz(19.1776, 12.5876, 62.3794)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604ED2 #C0D24E
analogous
#4E7ED2 #604ED2 #A24ED2
triadic
#604ED2 #D2604E #4ED260
tetradic
#604ED2 #D24E7E #C0D24E #4ED2A2
square
#604ED2 #D24E7E #C0D24E #4ED2A2
split-complementary
#604ED2 #D2A24E #7ED24E
monochromatic
#2F2284 #402EB5 #604ED2 #8C7FDE #B8B0EB

Accessibility & contrast

On white

5.97
#604ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#604ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604ED2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604ED2#FFFFFF#000000##FFFFFF
##604ED21.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#005FCF
Tritanopia (blue-blind)
#2D6E89
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #604ed2;
/* rgb */ color: rgb(96, 78, 210);
/* oklch */ color: oklch(51.9% 0.195 283.5);
Tailwind
colors: {
  custom: {
    50: '#9780e1',
    500: '#604ed2',
    950: '#000000',
  },
}
SCSS
$custom: #604ed2;
$custom-light: #9780e1;
$custom-dark: #000000;
JSON
{
  "hex": "#604ed2",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 248.182,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51911,
    "c": 0.19451,
    "h": 283.5
  },
  "luminance": 0.12589
}

Semantic roles & 50–950 ramp

primary
#604ED2
secondary
#D2D9A3
accent
#E345CD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #604ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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