#604BD4#604BD4

#604BD4 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.6% C 0.201 H 283.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#604BD4
RGBrgb(96, 75, 212)
HSLhsl(249, 61%, 56%)
HSVhsv(249, 65%, 83%)
CMYKcmyk(54.7%, 64.6%, 0%, 16.9%)
CIE-LABlab(41.64, 45.01, -67.82)
CIE-LCHlch(41.64, 81.40, 303.57°)
OKLaboklab(51.6% 0.048 -0.1949)
OKLCHoklch(51.6% 0.201 283.8)
XYZxyz(19.2200, 12.2713, 63.6304)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604BD4 #BFD44B
analogous
#4B7BD4 #604BD4 #A54BD4
triadic
#604BD4 #D4604B #4BD460
tetradic
#604BD4 #D44B7B #BFD44B #4BD4A5
square
#604BD4 #D44B7B #BFD44B #4BD4A5
split-complementary
#604BD4 #D4A54B #7BD44B
monochromatic
#2F2085 #412CB6 #604BD4 #8C7CE0 #B7AEEC

Accessibility & contrast

On white

6.08
#604BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#604BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604BD4
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604BD4#FFFFFF#000000##FFFFFF
##604BD41.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D8
Deuteranopia (green-blind)
#005ED1
Tritanopia (blue-blind)
#2B6D89
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #604bd4;
/* rgb */ color: rgb(96, 75, 212);
/* oklch */ color: oklch(51.6% 0.201 283.8);
Tailwind
colors: {
  custom: {
    50: '#987fe2',
    500: '#604bd4',
    950: '#000000',
  },
}
SCSS
$custom: #604bd4;
$custom-light: #987fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#604bd4",
  "rgb": {
    "r": 96,
    "g": 75,
    "b": 212
  },
  "hsl": {
    "h": 249.197,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51603,
    "c": 0.2007,
    "h": 283.8
  },
  "luminance": 0.12272
}

Semantic roles & 50–950 ramp

primary
#604BD4
secondary
#D1DAA1
accent
#E543CC
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A15
muted
#7E7C84

Preview Lab

Preview with #604BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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