#604DDB#604DDB

#604DDB is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.5% C 0.207 H 282.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#604DDB
RGBrgb(96, 77, 219)
HSLhsl(248, 66%, 58%)
HSVhsv(248, 65%, 86%)
CMYKcmyk(56.2%, 64.8%, 0%, 14.1%)
CIE-LABlab(42.62, 45.99, -70.24)
CIE-LCHlch(42.62, 83.95, 303.22°)
OKLaboklab(52.49% 0.0454 -0.2019)
OKLCHoklch(52.49% 0.207 282.7)
XYZxyz(20.2600, 12.9078, 68.4280)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604DDB #C8DB4D
analogous
#4D81DB #604DDB #A74DDB
triadic
#604DDB #DB604D #4DDB60
tetradic
#604DDB #DB4D81 #C8DB4D #4DDBA7
square
#604DDB #DB4D81 #C8DB4D #4DDBA7
split-complementary
#604DDB #DBA74D #81DB4D
monochromatic
#2D1D90 #3C27C3 #604DDB #8D80E5 #BBB3F0

Accessibility & contrast

On white

5.86
#604DDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#604DDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604DDB
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604DDB#FFFFFF#000000##FFFFFF
##604DDB1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DF
Deuteranopia (green-blind)
#0060D8
Tritanopia (blue-blind)
#20718D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #604ddb;
/* rgb */ color: rgb(96, 77, 219);
/* oklch */ color: oklch(52.5% 0.207 282.7);
Tailwind
colors: {
  custom: {
    50: '#9880e7',
    500: '#604ddb',
    950: '#000000',
  },
}
SCSS
$custom: #604ddb;
$custom-light: #9880e7;
$custom-dark: #000000;
JSON
{
  "hex": "#604ddb",
  "rgb": {
    "r": 96,
    "g": 77,
    "b": 219
  },
  "hsl": {
    "h": 248.028,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.52486,
    "c": 0.207,
    "h": 282.7
  },
  "luminance": 0.12909
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #604DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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