#604DD2#604DD2

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

Color values

HEX#604DD2
RGBrgb(96, 77, 210)
HSLhsl(249, 60%, 56%)
HSVhsv(249, 63%, 82%)
CMYKcmyk(54.3%, 63.3%, 0%, 17.6%)
CIE-LABlab(41.92, 43.26, -66.23)
CIE-LCHlch(41.92, 79.11, 303.15°)
OKLaboklab(51.75% 0.0463 -0.1902)
OKLCHoklch(51.75% 0.196 283.7)
XYZxyz(19.1071, 12.4466, 62.3559)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604DD2 #BFD24D
analogous
#4D7DD2 #604DD2 #A34DD2
triadic
#604DD2 #D2604D #4DD260
tetradic
#604DD2 #D24D7D #BFD24D #4DD2A3
square
#604DD2 #D24D7D #BFD24D #4DD2A3
split-complementary
#604DD2 #D2A34D #7DD24D
monochromatic
#2F2183 #412EB4 #604DD2 #8C7EDE #B7AFEB

Accessibility & contrast

On white

6.02
#604DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#604DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604DD2
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604DD2#FFFFFF#000000##FFFFFF
##604DD21.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#005FCF
Tritanopia (blue-blind)
#2D6E88
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #604dd2;
/* rgb */ color: rgb(96, 77, 210);
/* oklch */ color: oklch(51.8% 0.196 283.7);
Tailwind
colors: {
  custom: {
    50: '#9780e1',
    500: '#604dd2',
    950: '#000000',
  },
}
SCSS
$custom: #604dd2;
$custom-light: #9780e1;
$custom-dark: #000000;
JSON
{
  "hex": "#604dd2",
  "rgb": {
    "r": 96,
    "g": 77,
    "b": 210
  },
  "hsl": {
    "h": 248.571,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51752,
    "c": 0.19575,
    "h": 283.7
  },
  "luminance": 0.12448
}

Semantic roles & 50–950 ramp

primary
#604DD2
secondary
#D1D9A2
accent
#E345CC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #604DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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