#604CD4#604CD4

#604CD4 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.8% C 0.199 H 283.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#604CD4
RGBrgb(96, 76, 212)
HSLhsl(249, 61%, 56%)
HSVhsv(249, 64%, 83%)
CMYKcmyk(54.7%, 64.2%, 0%, 16.9%)
CIE-LABlab(41.86, 44.44, -67.48)
CIE-LCHlch(41.86, 80.80, 303.37°)
OKLaboklab(51.76% 0.0471 -0.1938)
OKLCHoklch(51.76% 0.199 283.7)
XYZxyz(19.2883, 12.4080, 63.6532)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CD4 #C0D44C
analogous
#4C7CD4 #604CD4 #A44CD4
triadic
#604CD4 #D4604C #4CD460
tetradic
#604CD4 #D44C7C #C0D44C #4CD4A4
square
#604CD4 #D44C7C #C0D44C #4CD4A4
split-complementary
#604CD4 #D4A44C #7CD44C
monochromatic
#2F2086 #402CB7 #604CD4 #8C7DE0 #B8AFEC

Accessibility & contrast

On white

6.03
#604CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #604CD4
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CD4#FFFFFF#000000##FFFFFF
##604CD41.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#005ED1
Tritanopia (blue-blind)
#2A6E89
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #604cd4;
/* rgb */ color: rgb(96, 76, 212);
/* oklch */ color: oklch(51.8% 0.199 283.7);
Tailwind
colors: {
  custom: {
    50: '#977fe2',
    500: '#604cd4',
    950: '#000000',
  },
}
SCSS
$custom: #604cd4;
$custom-light: #977fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#604cd4",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 248.824,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51758,
    "c": 0.19949,
    "h": 283.7
  },
  "luminance": 0.12409
}

Semantic roles & 50–950 ramp

primary
#604CD4
secondary
#D2DAA2
accent
#E443CD
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A15
muted
#7E7C84

Preview Lab

Preview with #604CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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