#604EDB#604EDB

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

Color values

HEX#604EDB
RGBrgb(96, 78, 219)
HSLhsl(248, 66%, 58%)
HSVhsv(248, 64%, 86%)
CMYKcmyk(56.2%, 64.4%, 0%, 14.1%)
CIE-LABlab(42.84, 45.42, -69.89)
CIE-LCHlch(42.84, 83.35, 303.02°)
OKLaboklab(52.64% 0.0446 -0.2009)
OKLCHoklch(52.64% 0.206 282.5)
XYZxyz(20.3305, 13.0488, 68.4515)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604EDB #C9DB4E
analogous
#4E82DB #604EDB #A74EDB
triadic
#604EDB #DB604E #4EDB60
tetradic
#604EDB #DB4E82 #C9DB4E #4EDBA7
square
#604EDB #DB4E82 #C9DB4E #4EDBA7
split-complementary
#604EDB #DBA74E #82DB4E
monochromatic
#2C1E91 #3C28C4 #604EDB #8E81E5 #BBB4F0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##604EDB#FFFFFF#000000##FFFFFF
##604EDB1.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)
#006ADF
Deuteranopia (green-blind)
#0060D8
Tritanopia (blue-blind)
#20718E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #604edb;
/* rgb */ color: rgb(96, 78, 219);
/* oklch */ color: oklch(52.6% 0.206 282.5);
Tailwind
colors: {
  custom: {
    50: '#9881e7',
    500: '#604edb',
    950: '#000000',
  },
}
SCSS
$custom: #604edb;
$custom-light: #9881e7;
$custom-dark: #000000;
JSON
{
  "hex": "#604edb",
  "rgb": {
    "r": 96,
    "g": 78,
    "b": 219
  },
  "hsl": {
    "h": 247.66,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5264,
    "c": 0.20581,
    "h": 282.5
  },
  "luminance": 0.1305
}

Semantic roles & 50–950 ramp

primary
#604EDB
secondary
#D7DEA6
accent
#E93FD3
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #604EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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