#604DD7#604DD7

#604DD7 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.2% C 0.202 H 283.1°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#604DD7
RGBrgb(96, 77, 215)
HSLhsl(248, 63%, 57%)
HSVhsv(248, 64%, 84%)
CMYKcmyk(55.3%, 64.2%, 0%, 15.7%)
CIE-LABlab(42.31, 44.78, -68.46)
CIE-LCHlch(42.31, 81.81, 303.18°)
OKLaboklab(52.16% 0.0459 -0.1967)
OKLCHoklch(52.16% 0.202 283.1)
XYZxyz(19.7397, 12.6996, 65.6879)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604DD7 #C4D74D
analogous
#4D7FD7 #604DD7 #A54DD7
triadic
#604DD7 #D7604D #4DD760
tetradic
#604DD7 #D74D7F #C4D74D #4DD7A5
square
#604DD7 #D74D7F #C4D74D #4DD7A5
split-complementary
#604DD7 #D7A54D #7FD74D
monochromatic
#2E1F8A #3E2ABC #604DD7 #8D7FE2 #B9B1ED

Accessibility & contrast

On white

5.93
#604DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#604DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604DD7
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604DD7#FFFFFF#000000##FFFFFF
##604DD71.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#005FD4
Tritanopia (blue-blind)
#266F8B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #604dd7;
/* rgb */ color: rgb(96, 77, 215);
/* oklch */ color: oklch(52.2% 0.202 283.1);
Tailwind
colors: {
  custom: {
    50: '#9880e4',
    500: '#604dd7',
    950: '#000000',
  },
}
SCSS
$custom: #604dd7;
$custom-light: #9880e4;
$custom-dark: #000000;
JSON
{
  "hex": "#604dd7",
  "rgb": {
    "r": 96,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 248.261,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52157,
    "c": 0.20203,
    "h": 283.1
  },
  "luminance": 0.12701
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #604DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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