#604ED5#604ED5

#604ED5 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 52.2% C 0.198 H 283.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#604ED5
RGBrgb(96, 78, 213)
HSLhsl(248, 62%, 57%)
HSVhsv(248, 63%, 84%)
CMYKcmyk(54.9%, 63.4%, 0%, 16.5%)
CIE-LABlab(42.37, 43.59, -67.22)
CIE-LCHlch(42.37, 80.12, 302.96°)
OKLaboklab(52.15% 0.0451 -0.1931)
OKLCHoklch(52.15% 0.198 283.2)
XYZxyz(19.5548, 12.7385, 64.3662)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604ED5 #C3D54E
analogous
#4E80D5 #604ED5 #A44ED5
triadic
#604ED5 #D5604E #4ED560
tetradic
#604ED5 #D54E80 #C3D54E #4ED5A4
square
#604ED5 #D54E80 #C3D54E #4ED5A4
split-complementary
#604ED5 #D5A44E #80D54E
monochromatic
#2E2088 #3F2CBA #604ED5 #8C7FE1 #B9B1EC

Accessibility & contrast

On white

5.92
#604ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#604ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604ED5
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604ED5#FFFFFF#000000##FFFFFF
##604ED51.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D9
Deuteranopia (green-blind)
#005FD2
Tritanopia (blue-blind)
#296F8A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #604ed5;
/* rgb */ color: rgb(96, 78, 213);
/* oklch */ color: oklch(52.2% 0.198 283.2);
Tailwind
colors: {
  custom: {
    50: '#9781e3',
    500: '#604ed5',
    950: '#000000',
  },
}
SCSS
$custom: #604ed5;
$custom-light: #9781e3;
$custom-dark: #000000;
JSON
{
  "hex": "#604ed5",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 213
  },
  "hsl": {
    "h": 248,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52152,
    "c": 0.19831,
    "h": 283.2
  },
  "luminance": 0.1274
}

Semantic roles & 50–950 ramp

primary
#604ED5
secondary
#D4DBA4
accent
#E543CF
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #604ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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