#604DC6#604DC6

#604DC6 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.8% C 0.180 H 285.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#604DC6
RGBrgb(96, 77, 198)
HSLhsl(249, 51%, 54%)
HSVhsv(249, 61%, 78%)
CMYKcmyk(51.5%, 61.1%, 0%, 22.4%)
CIE-LABlab(41.01, 39.62, -60.77)
CIE-LCHlch(41.01, 72.55, 303.10°)
OKLaboklab(50.81% 0.0472 -0.1741)
OKLCHoklch(50.81% 0.18 285.2)
XYZxyz(17.6677, 11.8709, 54.7755)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604DC6 #B3C64D
analogous
#4D77C6 #604DC6 #9C4DC6
triadic
#604DC6 #C6604D #4DC660
tetradic
#604DC6 #C64D77 #B3C64D #4DC69C
square
#604DC6 #C64D77 #B3C64D #4DC69C
split-complementary
#604DC6 #C69C4D #77C64D
monochromatic
#312574 #4534A2 #604DC6 #897BD5 #B3AAE4

Accessibility & contrast

On white

6.22
#604DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#604DC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604DC6
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604DC6#FFFFFF#000000##FFFFFF
##604DC61.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CA
Deuteranopia (green-blind)
#005DC4
Tritanopia (blue-blind)
#386A82
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #604dc6;
/* rgb */ color: rgb(96, 77, 198);
/* oklch */ color: oklch(50.8% 0.180 285.2);
Tailwind
colors: {
  custom: {
    50: '#9580d8',
    500: '#604dc6',
    950: '#000000',
  },
}
SCSS
$custom: #604dc6;
$custom-light: #9580d8;
$custom-dark: #000000;
JSON
{
  "hex": "#604dc6",
  "rgb": {
    "r": 96,
    "g": 77,
    "b": 198
  },
  "hsl": {
    "h": 249.421,
    "s": 51.489,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50806,
    "c": 0.18043,
    "h": 285.2
  },
  "luminance": 0.11872
}

Semantic roles & 50–950 ramp

primary
#604DC6
secondary
#C9D19E
accent
#DB4DC5
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #604DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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