#604BD6#604BD6

#604BD6 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.8% C 0.203 H 283.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#604BD6
RGBrgb(96, 75, 214)
HSLhsl(249, 63%, 57%)
HSVhsv(249, 65%, 84%)
CMYKcmyk(55.1%, 65%, 0%, 16.1%)
CIE-LABlab(41.80, 45.61, -68.71)
CIE-LCHlch(41.80, 82.48, 303.58°)
OKLaboklab(51.77% 0.0478 -0.1975)
OKLCHoklch(51.77% 0.203 283.6)
XYZxyz(19.4738, 12.3728, 64.9673)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604BD6 #C1D64B
analogous
#4B7CD6 #604BD6 #A64BD6
triadic
#604BD6 #D6604B #4BD660
tetradic
#604BD6 #D64B7C #C1D64B #4BD6A6
square
#604BD6 #D64B7C #C1D64B #4BD6A6
split-complementary
#604BD6 #D6A64B #7CD64B
monochromatic
#2F1F88 #402ABA #604BD6 #8C7DE1 #B8AFED

Accessibility & contrast

On white

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

On black

3.47
#604BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##604BD6#FFFFFF#000000##FFFFFF
##604BD61.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DA
Deuteranopia (green-blind)
#005ED3
Tritanopia (blue-blind)
#286E8A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #604bd6;
/* rgb */ color: rgb(96, 75, 214);
/* oklch */ color: oklch(51.8% 0.203 283.6);
Tailwind
colors: {
  custom: {
    50: '#987fe4',
    500: '#604bd6',
    950: '#000000',
  },
}
SCSS
$custom: #604bd6;
$custom-light: #987fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#604bd6",
  "rgb": {
    "r": 96,
    "g": 75,
    "b": 214
  },
  "hsl": {
    "h": 249.065,
    "s": 62.896,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51767,
    "c": 0.20319,
    "h": 283.6
  },
  "luminance": 0.12374
}

Semantic roles & 50–950 ramp

primary
#604BD6
secondary
#D2DBA2
accent
#E642CD
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #604BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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