#604AEF#604AEF

#604AEF is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.8% C 0.235 H 281.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#604AEF
RGBrgb(96, 74, 239)
HSLhsl(248, 84%, 61%)
HSVhsv(248, 69%, 94%)
CMYKcmyk(59.8%, 69%, 0%, 6.3%)
CIE-LABlab(43.68, 53.67, -79.86)
CIE-LCHlch(43.68, 96.22, 303.90°)
OKLaboklab(53.75% 0.0451 -0.2302)
OKLCHoklch(53.75% 0.235 281.1)
XYZxyz(22.8477, 13.6147, 83.0685)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604AEF #D9EF4A
analogous
#4A87EF #604AEF #B34AEF
triadic
#604AEF #EF604A #4AEF60
tetradic
#604AEF #EF4A87 #D9EF4A #4AEFB3
square
#604AEF #EF4A87 #D9EF4A #4AEFB3
split-complementary
#604AEF #EFB34A #87EF4A
monochromatic
#250FAF #3114E7 #604AEF #9182F4 #C3BAF9

Accessibility & contrast

On white

5.64
#604AEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#604AEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604AEF
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604AEF#FFFFFF#000000##FFFFFF
##604AEF1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF4
Deuteranopia (green-blind)
#0061EC
Tritanopia (blue-blind)
#007697
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #604aef;
/* rgb */ color: rgb(96, 74, 239);
/* oklch */ color: oklch(53.8% 0.235 281.1);
Tailwind
colors: {
  custom: {
    50: '#9c7ff5',
    500: '#604aef',
    950: '#000000',
  },
}
SCSS
$custom: #604aef;
$custom-light: #9c7ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#604aef",
  "rgb": {
    "r": 96,
    "g": 74,
    "b": 239
  },
  "hsl": {
    "h": 248,
    "s": 83.756,
    "l": 61.373
  },
  "oklch": {
    "l": 0.53754,
    "c": 0.23454,
    "h": 281.1
  },
  "luminance": 0.13616
}

Semantic roles & 50–950 ramp

primary
#604AEF
secondary
#E1E9AC
accent
#E005C3
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #604AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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