#604DD4#604DD4

#604DD4 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.9% C 0.198 H 283.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#604DD4
RGBrgb(96, 77, 212)
HSLhsl(248, 61%, 57%)
HSVhsv(248, 64%, 83%)
CMYKcmyk(54.7%, 63.7%, 0%, 16.9%)
CIE-LABlab(42.07, 43.87, -67.13)
CIE-LCHlch(42.07, 80.19, 303.16°)
OKLaboklab(51.91% 0.0462 -0.1928)
OKLCHoklch(51.91% 0.198 283.5)
XYZxyz(19.3578, 12.5469, 63.6763)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604DD4 #C1D44D
analogous
#4D7ED4 #604DD4 #A34DD4
triadic
#604DD4 #D4604D #4DD460
tetradic
#604DD4 #D44D7E #C1D44D #4DD4A3
square
#604DD4 #D44D7E #C1D44D #4DD4A3
split-complementary
#604DD4 #D4A34D #7ED44D
monochromatic
#2F2086 #402CB7 #604DD4 #8C7EE0 #B8B0EC

Accessibility & contrast

On white

5.98
#604DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#604DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604DD4
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604DD4#FFFFFF#000000##FFFFFF
##604DD41.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #604dd4;
/* rgb */ color: rgb(96, 77, 212);
/* oklch */ color: oklch(51.9% 0.198 283.5);
Tailwind
colors: {
  custom: {
    50: '#9780e2',
    500: '#604dd4',
    950: '#000000',
  },
}
SCSS
$custom: #604dd4;
$custom-light: #9780e2;
$custom-dark: #000000;
JSON
{
  "hex": "#604dd4",
  "rgb": {
    "r": 96,
    "g": 77,
    "b": 212
  },
  "hsl": {
    "h": 248.444,
    "s": 61.086,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51914,
    "c": 0.19827,
    "h": 283.5
  },
  "luminance": 0.12548
}

Semantic roles & 50–950 ramp

primary
#604DD4
secondary
#D2DAA3
accent
#E444CE
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A15
muted
#7E7C84

Preview Lab

Preview with #604DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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