#604DD5#604DD5

#604DD5 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 52.0% C 0.200 H 283.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#604DD5
RGBrgb(96, 77, 213)
HSLhsl(248, 62%, 57%)
HSVhsv(248, 64%, 84%)
CMYKcmyk(54.9%, 63.8%, 0%, 16.5%)
CIE-LABlab(42.15, 44.17, -67.57)
CIE-LCHlch(42.15, 80.73, 303.17°)
OKLaboklab(52% 0.0461 -0.1941)
OKLCHoklch(52% 0.2 283.3)
XYZxyz(19.4843, 12.5975, 64.3427)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604DD5 #C2D54D
analogous
#4D7ED5 #604DD5 #A44DD5
triadic
#604DD5 #D5604D #4DD560
tetradic
#604DD5 #D54D7E #C2D54D #4DD5A4
square
#604DD5 #D54D7E #C2D54D #4DD5A4
split-complementary
#604DD5 #D5A44D #7ED54D
monochromatic
#2E2088 #3F2CB9 #604DD5 #8C7FE1 #B8B0EC

Accessibility & contrast

On white

5.97
#604DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #604DD5
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604DD5#FFFFFF#000000##FFFFFF
##604DD51.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D9
Deuteranopia (green-blind)
#005FD2
Tritanopia (blue-blind)
#296F8A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #604dd5;
/* rgb */ color: rgb(96, 77, 213);
/* oklch */ color: oklch(52.0% 0.200 283.3);
Tailwind
colors: {
  custom: {
    50: '#9880e3',
    500: '#604dd5',
    950: '#000000',
  },
}
SCSS
$custom: #604dd5;
$custom-light: #9880e3;
$custom-dark: #000000;
JSON
{
  "hex": "#604dd5",
  "rgb": {
    "r": 96,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 248.382,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51995,
    "c": 0.19952,
    "h": 283.3
  },
  "luminance": 0.12599
}

Semantic roles & 50–950 ramp

primary
#604DD5
secondary
#D3DBA3
accent
#E543CE
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #604DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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