#604CDB#604CDB

#604CDB is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.3% C 0.208 H 282.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#604CDB
RGBrgb(96, 76, 219)
HSLhsl(248, 67%, 58%)
HSVhsv(248, 65%, 86%)
CMYKcmyk(56.2%, 65.3%, 0%, 14.1%)
CIE-LABlab(42.41, 46.56, -70.58)
CIE-LCHlch(42.41, 84.55, 303.41°)
OKLaboklab(52.33% 0.0463 -0.203)
OKLCHoklch(52.33% 0.208 282.9)
XYZxyz(20.1906, 12.7689, 68.4048)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604CDB #C7DB4C
analogous
#4C7FDB #604CDB #A84CDB
triadic
#604CDB #DB604C #4CDB60
tetradic
#604CDB #DB4C7F #C7DB4C #4CDBA8
square
#604CDB #DB4C7F #C7DB4C #4CDBA8
split-complementary
#604CDB #DBA84C #7FDB4C
monochromatic
#2D1D90 #3D27C3 #604CDB #8D7FE5 #BBB2EF

Accessibility & contrast

On white

5.91
#604CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #604CDB
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604CDB#FFFFFF#000000##FFFFFF
##604CDB1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DF
Deuteranopia (green-blind)
#005FD8
Tritanopia (blue-blind)
#20708D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #604cdb;
/* rgb */ color: rgb(96, 76, 219);
/* oklch */ color: oklch(52.3% 0.208 282.9);
Tailwind
colors: {
  custom: {
    50: '#997fe7',
    500: '#604cdb',
    950: '#000000',
  },
}
SCSS
$custom: #604cdb;
$custom-light: #997fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#604cdb",
  "rgb": {
    "r": 96,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 248.392,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52333,
    "c": 0.20819,
    "h": 282.9
  },
  "luminance": 0.1277
}

Semantic roles & 50–950 ramp

primary
#604CDB
secondary
#D6DEA5
accent
#E93ED2
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #604CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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