#604BD5#604BD5

#604BD5 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.7% C 0.202 H 283.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#604BD5
RGBrgb(96, 75, 213)
HSLhsl(249, 62%, 56%)
HSVhsv(249, 65%, 84%)
CMYKcmyk(54.9%, 64.8%, 0%, 16.5%)
CIE-LABlab(41.72, 45.31, -68.27)
CIE-LCHlch(41.72, 81.94, 303.57°)
OKLaboklab(51.69% 0.0479 -0.1962)
OKLCHoklch(51.69% 0.202 283.7)
XYZxyz(19.3465, 12.3219, 64.2968)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604BD5 #C0D54B
analogous
#4B7BD5 #604BD5 #A54BD5
triadic
#604BD5 #D5604B #4BD560
tetradic
#604BD5 #D54B7B #C0D54B #4BD5A5
square
#604BD5 #D54B7B #C0D54B #4BD5A5
split-complementary
#604BD5 #D5A54B #7BD54B
monochromatic
#2F1F86 #402BB8 #604BD5 #8C7DE1 #B8AEEC

Accessibility & contrast

On white

6.06
#604BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#604BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604BD5
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604BD5#FFFFFF#000000##FFFFFF
##604BD51.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#005ED2
Tritanopia (blue-blind)
#296E89
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #604bd5;
/* rgb */ color: rgb(96, 75, 213);
/* oklch */ color: oklch(51.7% 0.202 283.7);
Tailwind
colors: {
  custom: {
    50: '#987fe3',
    500: '#604bd5',
    950: '#000000',
  },
}
SCSS
$custom: #604bd5;
$custom-light: #987fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#604bd5",
  "rgb": {
    "r": 96,
    "g": 75,
    "b": 213
  },
  "hsl": {
    "h": 249.13,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51685,
    "c": 0.20194,
    "h": 283.7
  },
  "luminance": 0.12323
}

Semantic roles & 50–950 ramp

primary
#604BD5
secondary
#D2DAA2
accent
#E543CC
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #604BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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