#604DCB#604DCB

#604DCB is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.2% C 0.187 H 284.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#604DCB
RGBrgb(96, 77, 203)
HSLhsl(249, 55%, 55%)
HSVhsv(249, 62%, 80%)
CMYKcmyk(52.7%, 62.1%, 0%, 20.4%)
CIE-LABlab(41.38, 41.13, -63.06)
CIE-LCHlch(41.38, 75.29, 303.12°)
OKLaboklab(51.2% 0.0469 -0.1809)
OKLCHoklch(51.2% 0.187 284.5)
XYZxyz(18.2540, 12.1054, 57.8630)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604DCB #B8CB4D
analogous
#4D79CB #604DCB #9F4DCB
triadic
#604DCB #CB604D #4DCB60
tetradic
#604DCB #CB4D79 #B8CB4D #4DCB9F
square
#604DCB #CB4D79 #B8CB4D #4DCB9F
split-complementary
#604DCB #CB9F4D #79CB4D
monochromatic
#31247A #4431A9 #604DCB #8A7CD9 #B5ACE7

Accessibility & contrast

On white

6.14
#604DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#604DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #604DCB
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604DCB#FFFFFF#000000##FFFFFF
##604DCB1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#346B85
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #604dcb;
/* rgb */ color: rgb(96, 77, 203);
/* oklch */ color: oklch(51.2% 0.187 284.5);
Tailwind
colors: {
  custom: {
    50: '#9680dc',
    500: '#604dcb',
    950: '#000000',
  },
}
SCSS
$custom: #604dcb;
$custom-light: #9680dc;
$custom-dark: #000000;
JSON
{
  "hex": "#604dcb",
  "rgb": {
    "r": 96,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 249.048,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51196,
    "c": 0.18685,
    "h": 284.5
  },
  "luminance": 0.12106
}

Semantic roles & 50–950 ramp

primary
#604DCB
secondary
#CCD49F
accent
#DE4AC8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #604DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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