#604ED9#604ED9

#604ED9 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.5% C 0.203 H 282.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#604ED9
RGBrgb(96, 78, 217)
HSLhsl(248, 65%, 58%)
HSVhsv(248, 64%, 85%)
CMYKcmyk(55.8%, 64.1%, 0%, 14.9%)
CIE-LABlab(42.68, 44.81, -69.00)
CIE-LCHlch(42.68, 82.28, 303.00°)
OKLaboklab(52.48% 0.0448 -0.1983)
OKLCHoklch(52.48% 0.203 282.7)
XYZxyz(20.0688, 12.9441, 67.0731)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604ED9 #C7D94E
analogous
#4E81D9 #604ED9 #A64ED9
triadic
#604ED9 #D9604E #4ED960
tetradic
#604ED9 #D94E81 #C7D94E #4ED9A6
square
#604ED9 #D94E81 #C7D94E #4ED9A6
split-complementary
#604ED9 #D9A64E #81D94E
monochromatic
#2D1F8E #3D29C0 #604ED9 #8D80E4 #BBB3EF

Accessibility & contrast

On white

5.85
#604ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#604ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604ED9
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604ED9#FFFFFF#000000##FFFFFF
##604ED91.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DD
Deuteranopia (green-blind)
#0060D6
Tritanopia (blue-blind)
#23718C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #604ed9;
/* rgb */ color: rgb(96, 78, 217);
/* oklch */ color: oklch(52.5% 0.203 282.7);
Tailwind
colors: {
  custom: {
    50: '#9881e6',
    500: '#604ed9',
    950: '#000000',
  },
}
SCSS
$custom: #604ed9;
$custom-light: #9881e6;
$custom-dark: #000000;
JSON
{
  "hex": "#604ed9",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 217
  },
  "hsl": {
    "h": 247.77,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52476,
    "c": 0.20332,
    "h": 282.7
  },
  "luminance": 0.12945
}

Semantic roles & 50–950 ramp

primary
#604ED9
secondary
#D6DDA6
accent
#E840D2
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #604ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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