#604FD1#604FD1

#604FD1 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 52.0% C 0.192 H 283.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#604FD1
RGBrgb(96, 79, 209)
HSLhsl(248, 59%, 56%)
HSVhsv(248, 62%, 82%)
CMYKcmyk(54.1%, 62.2%, 0%, 18%)
CIE-LABlab(42.28, 41.79, -65.07)
CIE-LCHlch(42.28, 77.33, 302.71°)
OKLaboklab(51.99% 0.0445 -0.1868)
OKLCHoklch(51.99% 0.192 283.4)
XYZxyz(19.1250, 12.6811, 61.7492)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FD1 #C0D14F
analogous
#4F7FD1 #604FD1 #A14FD1
triadic
#604FD1 #D1604F #4FD160
tetradic
#604FD1 #D14F7F #C0D14F #4FD1A1
square
#604FD1 #D14F7F #C0D14F #4FD1A1
split-complementary
#604FD1 #D1A14F #7FD14F
monochromatic
#2F2283 #402FB4 #604FD1 #8C80DE #B8B0EA

Accessibility & contrast

On white

5.94
#604FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #604FD1
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FD1#FFFFFF#000000##FFFFFF
##604FD11.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D5
Deuteranopia (green-blind)
#005FCE
Tritanopia (blue-blind)
#2E6F89
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #604fd1;
/* rgb */ color: rgb(96, 79, 209);
/* oklch */ color: oklch(52.0% 0.192 283.4);
Tailwind
colors: {
  custom: {
    50: '#9781e0',
    500: '#604fd1',
    950: '#000000',
  },
}
SCSS
$custom: #604fd1;
$custom-light: #9781e0;
$custom-dark: #000000;
JSON
{
  "hex": "#604fd1",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 209
  },
  "hsl": {
    "h": 247.846,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51992,
    "c": 0.19199,
    "h": 283.4
  },
  "luminance": 0.12682
}

Semantic roles & 50–950 ramp

primary
#604FD1
secondary
#D2D9A3
accent
#E246CD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #604FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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