#604FD4#604FD4

#604FD4 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 52.2% C 0.196 H 283.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#604FD4
RGBrgb(96, 79, 212)
HSLhsl(248, 61%, 57%)
HSVhsv(248, 63%, 83%)
CMYKcmyk(54.7%, 62.7%, 0%, 16.9%)
CIE-LABlab(42.51, 42.71, -66.42)
CIE-LCHlch(42.51, 78.96, 302.74°)
OKLaboklab(52.23% 0.0443 -0.1907)
OKLCHoklch(52.23% 0.196 283.1)
XYZxyz(19.4999, 12.8311, 63.7237)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604FD4 #C3D44F
analogous
#4F81D4 #604FD4 #A34FD4
triadic
#604FD4 #D4604F #4FD460
tetradic
#604FD4 #D44F81 #C3D44F #4FD4A3
square
#604FD4 #D44F81 #C3D44F #4FD4A3
split-complementary
#604FD4 #D4A34F #81D44F
monochromatic
#2E2187 #3F2DB9 #604FD4 #8C80E0 #B9B1EC

Accessibility & contrast

On white

5.89
#604FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#604FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604FD4
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604FD4#FFFFFF#000000##FFFFFF
##604FD41.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#0060D1
Tritanopia (blue-blind)
#2A708A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #604fd4;
/* rgb */ color: rgb(96, 79, 212);
/* oklch */ color: oklch(52.2% 0.196 283.1);
Tailwind
colors: {
  custom: {
    50: '#9781e2',
    500: '#604fd4',
    950: '#000000',
  },
}
SCSS
$custom: #604fd4;
$custom-light: #9781e2;
$custom-dark: #000000;
JSON
{
  "hex": "#604fd4",
  "rgb": {
    "r": 96,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 247.669,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5223,
    "c": 0.1958,
    "h": 283.1
  },
  "luminance": 0.12832
}

Semantic roles & 50–950 ramp

primary
#604FD4
secondary
#D4DAA4
accent
#E444CF
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A15
muted
#7E7C84

Preview Lab

Preview with #604FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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