#604ED6#604ED6

#604ED6 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 52.2% C 0.200 H 283.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#604ED6
RGBrgb(96, 78, 214)
HSLhsl(248, 62%, 57%)
HSVhsv(248, 64%, 84%)
CMYKcmyk(55.1%, 63.6%, 0%, 16.1%)
CIE-LABlab(42.44, 43.90, -67.67)
CIE-LCHlch(42.44, 80.66, 302.97°)
OKLaboklab(52.23% 0.045 -0.1944)
OKLCHoklch(52.23% 0.2 283)
XYZxyz(19.6821, 12.7894, 65.0368)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604ED6 #C4D64E
analogous
#4E80D6 #604ED6 #A44ED6
triadic
#604ED6 #D6604E #4ED660
tetradic
#604ED6 #D64E80 #C4D64E #4ED6A4
square
#604ED6 #D64E80 #C4D64E #4ED6A4
split-complementary
#604ED6 #D6A44E #80D64E
monochromatic
#2E208A #3E2BBB #604ED6 #8D80E2 #B9B1ED

Accessibility & contrast

On white

5.90
#604ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#604ED6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604ED6
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604ED6#FFFFFF#000000##FFFFFF
##604ED61.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DA
Deuteranopia (green-blind)
#0060D3
Tritanopia (blue-blind)
#28708B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #604ed6;
/* rgb */ color: rgb(96, 78, 214);
/* oklch */ color: oklch(52.2% 0.200 283.0);
Tailwind
colors: {
  custom: {
    50: '#9881e4',
    500: '#604ed6',
    950: '#000000',
  },
}
SCSS
$custom: #604ed6;
$custom-light: #9881e4;
$custom-dark: #000000;
JSON
{
  "hex": "#604ed6",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 214
  },
  "hsl": {
    "h": 247.941,
    "s": 62.385,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52233,
    "c": 0.19956,
    "h": 283
  },
  "luminance": 0.12791
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #604ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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