#604BF2#604BF2

#604BF2 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 54.2% C 0.237 H 280.7°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#604BF2
RGBrgb(96, 75, 242)
HSLhsl(248, 87%, 62%)
HSVhsv(248, 69%, 95%)
CMYKcmyk(60.3%, 69%, 0%, 5.1%)
CIE-LABlab(44.13, 54.02, -80.80)
CIE-LCHlch(44.13, 97.20, 303.77°)
OKLaboklab(54.16% 0.0439 -0.2329)
OKLCHoklch(54.16% 0.237 280.7)
XYZxyz(23.3619, 13.9281, 85.4445)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604BF2 #DDF24B
analogous
#4B8AF2 #604BF2 #B44BF2
triadic
#604BF2 #F2604B #4BF260
tetradic
#604BF2 #F24B8A #DDF24B #4BF2B4
square
#604BF2 #F24B8A #DDF24B #4BF2B4
split-complementary
#604BF2 #F2B44B #8AF24B
monochromatic
#220DB5 #2E12EE #604BF2 #9284F6 #C5BDFA

Accessibility & contrast

On white

5.55
#604BF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#604BF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604BF2
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604BF2#FFFFFF#000000##FFFFFF
##604BF21.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF7
Deuteranopia (green-blind)
#0062EF
Tritanopia (blue-blind)
#007899
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #604bf2;
/* rgb */ color: rgb(96, 75, 242);
/* oklch */ color: oklch(54.2% 0.237 280.7);
Tailwind
colors: {
  custom: {
    50: '#9c7ff8',
    500: '#604bf2',
    950: '#000000',
  },
}
SCSS
$custom: #604bf2;
$custom-light: #9c7ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#604bf2",
  "rgb": {
    "r": 96,
    "g": 75,
    "b": 242
  },
  "hsl": {
    "h": 247.545,
    "s": 86.528,
    "l": 62.157
  },
  "oklch": {
    "l": 0.54158,
    "c": 0.23703,
    "h": 280.7
  },
  "luminance": 0.1393
}

Semantic roles & 50–950 ramp

primary
#604BF2
secondary
#E3EBAE
accent
#E302C7
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #604BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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