#604DC2#604DC2

#604DC2 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.5% C 0.175 H 285.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#604DC2
RGBrgb(96, 77, 194)
HSLhsl(250, 49%, 53%)
HSVhsv(250, 60%, 76%)
CMYKcmyk(50.5%, 60.3%, 0%, 23.9%)
CIE-LABlab(40.72, 38.41, -58.92)
CIE-LCHlch(40.72, 70.34, 303.10°)
OKLaboklab(50.5% 0.0474 -0.1687)
OKLCHoklch(50.5% 0.175 285.7)
XYZxyz(17.2125, 11.6887, 52.3777)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604DC2 #AFC24D
analogous
#4D74C2 #604DC2 #9B4DC2
triadic
#604DC2 #C2604D #4DC260
tetradic
#604DC2 #C24D74 #AFC24D #4DC29B
square
#604DC2 #C24D74 #AFC24D #4DC29B
split-complementary
#604DC2 #C29B4D #74C24D
monochromatic
#32266F #46369C #604DC2 #897BD2 #B1A8E1

Accessibility & contrast

On white

6.29
#604DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#604DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604DC2
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604DC2#FFFFFF#000000##FFFFFF
##604DC21.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#3C6880
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #604dc2;
/* rgb */ color: rgb(96, 77, 194);
/* oklch */ color: oklch(50.5% 0.175 285.7);
Tailwind
colors: {
  custom: {
    50: '#957fd5',
    500: '#604dc2',
    950: '#000000',
  },
}
SCSS
$custom: #604dc2;
$custom-light: #957fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#604dc2",
  "rgb": {
    "r": 96,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 249.744,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50499,
    "c": 0.17523,
    "h": 285.7
  },
  "luminance": 0.1169
}

Semantic roles & 50–950 ramp

primary
#604DC2
secondary
#C6CF9C
accent
#D94FC2
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #604DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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