#604FD5#604FD5

#604FD5 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.3% C 0.197 H 283.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#604FD5
RGBrgb(96, 79, 213)
HSLhsl(248, 61%, 57%)
HSVhsv(248, 63%, 84%)
CMYKcmyk(54.9%, 62.9%, 0%, 16.5%)
CIE-LABlab(42.58, 43.01, -66.87)
CIE-LCHlch(42.58, 79.51, 302.75°)
OKLaboklab(52.31% 0.0442 -0.192)
OKLCHoklch(52.31% 0.197 283)
XYZxyz(19.6264, 12.8817, 64.3901)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FD5 #C4D54F
analogous
#4F81D5 #604FD5 #A34FD5
triadic
#604FD5 #D5604F #4FD560
tetradic
#604FD5 #D54F81 #C4D54F #4FD5A3
square
#604FD5 #D54F81 #C4D54F #4FD5A3
split-complementary
#604FD5 #D5A34F #81D54F
monochromatic
#2E2189 #3E2CBA #604FD5 #8D80E1 #B9B2ED

Accessibility & contrast

On white

5.87
#604FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#604FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FD5
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FD5#FFFFFF#000000##FFFFFF
##604FD51.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#0060D2
Tritanopia (blue-blind)
#29708B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #604fd5;
/* rgb */ color: rgb(96, 79, 213);
/* oklch */ color: oklch(52.3% 0.197 283.0);
Tailwind
colors: {
  custom: {
    50: '#9781e3',
    500: '#604fd5',
    950: '#000000',
  },
}
SCSS
$custom: #604fd5;
$custom-light: #9781e3;
$custom-dark: #000000;
JSON
{
  "hex": "#604fd5",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 247.612,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5231,
    "c": 0.19707,
    "h": 283
  },
  "luminance": 0.12883
}

Semantic roles & 50–950 ramp

primary
#604FD5
secondary
#D4DBA5
accent
#E543D0
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #604FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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