#594EC2#594EC2

#594EC2 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.1% C 0.175 H 282.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#594EC2
RGBrgb(89, 78, 194)
HSLhsl(246, 49%, 53%)
HSVhsv(246, 60%, 76%)
CMYKcmyk(54.1%, 59.8%, 0%, 23.9%)
CIE-LABlab(40.36, 36.45, -59.53)
CIE-LCHlch(40.36, 69.81, 301.48°)
OKLaboklab(50.09% 0.0374 -0.1707)
OKLCHoklch(50.09% 0.175 282.3)
XYZxyz(16.5788, 11.4667, 52.3682)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#594EC2 #B7C24E
analogous
#4E7DC2 #594EC2 #934EC2
triadic
#594EC2 #C2594E #4EC259
tetradic
#594EC2 #C24E7D #B7C24E #4EC293
square
#594EC2 #C24E7D #B7C24E #4EC293
split-complementary
#594EC2 #C2934E #7DC24E
monochromatic
#2D266F #40369D #594EC2 #847CD2 #AEA9E1

Accessibility & contrast

On white

6.38
#594EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#594EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #594EC2
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##594EC2#FFFFFF#000000##FFFFFF
##594EC21.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#005BC0
Tritanopia (blue-blind)
#2A6A80
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #594ec2;
/* rgb */ color: rgb(89, 78, 194);
/* oklch */ color: oklch(50.1% 0.175 282.3);
Tailwind
colors: {
  custom: {
    50: '#9180d5',
    500: '#594ec2',
    950: '#000000',
  },
}
SCSS
$custom: #594ec2;
$custom-light: #9180d5;
$custom-dark: #000000;
JSON
{
  "hex": "#594ec2",
  "rgb": {
    "r": 89,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 245.69,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50088,
    "c": 0.17475,
    "h": 282.3
  },
  "luminance": 0.11468
}

Semantic roles & 50–950 ramp

primary
#594EC2
secondary
#CACF9D
accent
#D850CB
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #594EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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