#604DD1#604DD1

#604DD1 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.7% C 0.194 H 283.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#604DD1
RGBrgb(96, 77, 209)
HSLhsl(249, 59%, 56%)
HSVhsv(249, 63%, 82%)
CMYKcmyk(54.1%, 63.2%, 0%, 18%)
CIE-LABlab(41.84, 42.96, -65.78)
CIE-LCHlch(41.84, 78.56, 303.14°)
OKLaboklab(51.67% 0.0464 -0.1889)
OKLCHoklch(51.67% 0.194 283.8)
XYZxyz(18.9829, 12.3969, 61.7018)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604DD1 #BED14D
analogous
#4D7CD1 #604DD1 #A24DD1
triadic
#604DD1 #D1604D #4DD160
tetradic
#604DD1 #D14D7C #BED14D #4DD1A2
square
#604DD1 #D14D7C #BED14D #4DD1A2
split-complementary
#604DD1 #D1A24D #7CD14D
monochromatic
#2F2282 #412EB3 #604DD1 #8B7EDE #B7AEEA

Accessibility & contrast

On white

6.04
#604DD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#604DD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604DD1
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604DD1#FFFFFF#000000##FFFFFF
##604DD11.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D5
Deuteranopia (green-blind)
#005ECE
Tritanopia (blue-blind)
#2E6D88
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #604dd1;
/* rgb */ color: rgb(96, 77, 209);
/* oklch */ color: oklch(51.7% 0.194 283.8);
Tailwind
colors: {
  custom: {
    50: '#9780e0',
    500: '#604dd1',
    950: '#000000',
  },
}
SCSS
$custom: #604dd1;
$custom-light: #9780e0;
$custom-dark: #000000;
JSON
{
  "hex": "#604dd1",
  "rgb": {
    "r": 96,
    "g": 77,
    "b": 209
  },
  "hsl": {
    "h": 248.636,
    "s": 58.929,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51672,
    "c": 0.19448,
    "h": 283.8
  },
  "luminance": 0.12398
}

Semantic roles & 50–950 ramp

primary
#604DD1
secondary
#D0D8A2
accent
#E246CC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #604DD1

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

Preview Lab → · Contrast checker → · Palette generator →

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