#594EC7#594EC7

#594EC7 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.5% C 0.181 H 281.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#594EC7
RGBrgb(89, 78, 199)
HSLhsl(245, 52%, 54%)
HSVhsv(245, 61%, 78%)
CMYKcmyk(55.3%, 60.8%, 0%, 22%)
CIE-LABlab(40.73, 38.02, -61.84)
CIE-LCHlch(40.73, 72.59, 301.59°)
OKLaboklab(50.48% 0.0372 -0.1775)
OKLCHoklch(50.48% 0.181 281.8)
XYZxyz(17.1498, 11.6951, 55.3754)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#594EC7 #BCC74E
analogous
#4E7FC7 #594EC7 #964EC7
triadic
#594EC7 #C7594E #4EC759
tetradic
#594EC7 #C74E7F #BCC74E #4EC796
square
#594EC7 #C74E7F #BCC74E #4EC796
split-complementary
#594EC7 #C7964E #7FC74E
monochromatic
#2C2575 #3E34A4 #594EC7 #857CD6 #B0ABE4

Accessibility & contrast

On white

6.29
#594EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#594EC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #594EC7
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##594EC7#FFFFFF#000000##FFFFFF
##594EC71.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#005CC5
Tritanopia (blue-blind)
#246B83
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #594ec7;
/* rgb */ color: rgb(89, 78, 199);
/* oklch */ color: oklch(50.5% 0.181 281.8);
Tailwind
colors: {
  custom: {
    50: '#9280d9',
    500: '#594ec7',
    950: '#000000',
  },
}
SCSS
$custom: #594ec7;
$custom-light: #9280d9;
$custom-dark: #000000;
JSON
{
  "hex": "#594ec7",
  "rgb": {
    "r": 89,
    "g": 78,
    "b": 199
  },
  "hsl": {
    "h": 245.455,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50478,
    "c": 0.18133,
    "h": 281.8
  },
  "luminance": 0.11696
}

Semantic roles & 50–950 ramp

primary
#594EC7
secondary
#CDD29F
accent
#DB4CCE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #594EC7

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

Preview Lab → · Contrast checker → · Palette generator →

#594EC7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva