#604CDF#604CDF

#604CDF is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.7% C 0.213 H 282.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#604CDF
RGBrgb(96, 76, 223)
HSLhsl(248, 70%, 59%)
HSVhsv(248, 66%, 87%)
CMYKcmyk(57%, 65.9%, 0%, 12.5%)
CIE-LABlab(42.74, 47.77, -72.33)
CIE-LCHlch(42.74, 86.68, 303.44°)
OKLaboklab(52.67% 0.0458 -0.2081)
OKLCHoklch(52.67% 0.213 282.4)
XYZxyz(20.7235, 12.9821, 71.2115)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CDF #CBDF4C
analogous
#4C81DF #604CDF #A94CDF
triadic
#604CDF #DF604C #4CDF60
tetradic
#604CDF #DF4C81 #CBDF4C #4CDFA9
square
#604CDF #DF4C81 #CBDF4C #4CDFA9
split-complementary
#604CDF #DFA94C #81DF4C
monochromatic
#2C1B96 #3B24CA #604CDF #8E80E8 #BCB4F2

Accessibility & contrast

On white

5.84
#604CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#604CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604CDF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CDF#FFFFFF#000000##FFFFFF
##604CDF1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE4
Deuteranopia (green-blind)
#0060DC
Tritanopia (blue-blind)
#18728F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #604cdf;
/* rgb */ color: rgb(96, 76, 223);
/* oklch */ color: oklch(52.7% 0.213 282.4);
Tailwind
colors: {
  custom: {
    50: '#997fea',
    500: '#604cdf',
    950: '#000000',
  },
}
SCSS
$custom: #604cdf;
$custom-light: #997fea;
$custom-dark: #000000;
JSON
{
  "hex": "#604cdf",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 248.163,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52667,
    "c": 0.2131,
    "h": 282.4
  },
  "luminance": 0.12983
}

Semantic roles & 50–950 ramp

primary
#604CDF
secondary
#D9E0A6
accent
#EC3BD4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #604CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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