#604FD8#604FD8

#604FD8 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.6% C 0.201 H 282.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#604FD8
RGBrgb(96, 79, 216)
HSLhsl(247, 64%, 58%)
HSVhsv(247, 63%, 85%)
CMYKcmyk(55.6%, 63.4%, 0%, 15.3%)
CIE-LABlab(42.82, 43.93, -68.21)
CIE-LCHlch(42.82, 81.13, 302.78°)
OKLaboklab(52.55% 0.0439 -0.196)
OKLCHoklch(52.55% 0.201 282.6)
XYZxyz(20.0107, 13.0354, 66.4141)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FD8 #C7D84F
analogous
#4F83D8 #604FD8 #A44FD8
triadic
#604FD8 #D8604F #4FD860
tetradic
#604FD8 #D84F83 #C7D84F #4FD8A4
square
#604FD8 #D84F83 #C7D84F #4FD8A4
split-complementary
#604FD8 #D8A44F #83D84F
monochromatic
#2D1F8D #3D2ABF #604FD8 #8D81E3 #BBB3EE

Accessibility & contrast

On white

5.82
#604FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#604FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FD8
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FD8#FFFFFF#000000##FFFFFF
##604FD81.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#0060D5
Tritanopia (blue-blind)
#25718C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #604fd8;
/* rgb */ color: rgb(96, 79, 216);
/* oklch */ color: oklch(52.6% 0.201 282.6);
Tailwind
colors: {
  custom: {
    50: '#9881e5',
    500: '#604fd8',
    950: '#000000',
  },
}
SCSS
$custom: #604fd8;
$custom-light: #9881e5;
$custom-dark: #000000;
JSON
{
  "hex": "#604fd8",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 216
  },
  "hsl": {
    "h": 247.445,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52552,
    "c": 0.20086,
    "h": 282.6
  },
  "luminance": 0.13037
}

Semantic roles & 50–950 ramp

primary
#604FD8
secondary
#D6DDA6
accent
#E741D2
background
#FAF8FE
surface
#F3EFFC
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #604FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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