#604CD8#604CD8

#604CD8 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.1% C 0.204 H 283.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#604CD8
RGBrgb(96, 76, 216)
HSLhsl(249, 64%, 57%)
HSVhsv(249, 65%, 85%)
CMYKcmyk(55.6%, 64.8%, 0%, 15.3%)
CIE-LABlab(42.17, 45.65, -69.26)
CIE-LCHlch(42.17, 82.95, 303.39°)
OKLaboklab(52.09% 0.0467 -0.1991)
OKLCHoklch(52.09% 0.204 283.2)
XYZxyz(19.7992, 12.6123, 66.3436)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CD8 #C4D84C
analogous
#4C7ED8 #604CD8 #A64CD8
triadic
#604CD8 #D8604C #4CD860
tetradic
#604CD8 #D84C7E #C4D84C #4CD8A6
square
#604CD8 #D84C7E #C4D84C #4CD8A6
split-complementary
#604CD8 #D8A64C #7ED84C
monochromatic
#2E1E8B #3E29BE #604CD8 #8D7EE3 #B9B1EE

Accessibility & contrast

On white

5.96
#604CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #604CD8
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CD8#FFFFFF#000000##FFFFFF
##604CD81.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DC
Deuteranopia (green-blind)
#005FD5
Tritanopia (blue-blind)
#256F8B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #604cd8;
/* rgb */ color: rgb(96, 76, 216);
/* oklch */ color: oklch(52.1% 0.204 283.2);
Tailwind
colors: {
  custom: {
    50: '#987fe5',
    500: '#604cd8',
    950: '#000000',
  },
}
SCSS
$custom: #604cd8;
$custom-light: #987fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#604cd8",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 248.571,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52085,
    "c": 0.20447,
    "h": 283.2
  },
  "luminance": 0.12614
}

Semantic roles & 50–950 ramp

primary
#604CD8
secondary
#D4DCA4
accent
#E741CF
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #604CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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