#604FD2#604FD2

#604FD2 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 52.1% C 0.193 H 283.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#604FD2
RGBrgb(96, 79, 210)
HSLhsl(248, 59%, 57%)
HSVhsv(248, 62%, 82%)
CMYKcmyk(54.3%, 62.4%, 0%, 17.6%)
CIE-LABlab(42.35, 42.10, -65.52)
CIE-LCHlch(42.35, 77.88, 302.72°)
OKLaboklab(52.07% 0.0444 -0.1881)
OKLCHoklch(52.07% 0.193 283.3)
XYZxyz(19.2492, 12.7308, 62.4032)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FD2 #C1D24F
analogous
#4F80D2 #604FD2 #A24FD2
triadic
#604FD2 #D2604F #4FD260
tetradic
#604FD2 #D24F80 #C1D24F #4FD2A2
square
#604FD2 #D24F80 #C1D24F #4FD2A2
split-complementary
#604FD2 #D2A24F #80D24F
monochromatic
#2F2285 #402EB5 #604FD2 #8C80DE #B8B0EB

Accessibility & contrast

On white

5.92
#604FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#604FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FD2
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FD2#FFFFFF#000000##FFFFFF
##604FD21.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#2C6F89
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #604fd2;
/* rgb */ color: rgb(96, 79, 210);
/* oklch */ color: oklch(52.1% 0.193 283.3);
Tailwind
colors: {
  custom: {
    50: '#9781e1',
    500: '#604fd2',
    950: '#000000',
  },
}
SCSS
$custom: #604fd2;
$custom-light: #9781e1;
$custom-dark: #000000;
JSON
{
  "hex": "#604fd2",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 247.786,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52071,
    "c": 0.19327,
    "h": 283.3
  },
  "luminance": 0.12732
}

Semantic roles & 50–950 ramp

primary
#604FD2
secondary
#D2D9A4
accent
#E245CE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #604FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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