#594ECB#594ECB

#594ECB is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.8% C 0.187 H 281.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#594ECB
RGBrgb(89, 78, 203)
HSLhsl(245, 55%, 55%)
HSVhsv(245, 62%, 80%)
CMYKcmyk(56.2%, 61.6%, 0%, 20.4%)
CIE-LABlab(41.03, 39.28, -63.66)
CIE-LCHlch(41.03, 74.80, 301.68°)
OKLaboklab(50.79% 0.0369 -0.1828)
OKLCHoklch(50.79% 0.187 281.4)
XYZxyz(17.6204, 11.8833, 57.8535)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#594ECB #C0CB4E
analogous
#4E81CB #594ECB #974ECB
triadic
#594ECB #CB594E #4ECB59
tetradic
#594ECB #CB4E81 #C0CB4E #4ECB97
square
#594ECB #CB4E81 #C0CB4E #4ECB97
split-complementary
#594ECB #CB974E #81CB4E
monochromatic
#2C247B #3C32AA #594ECB #857DD9 #B2ADE7

Accessibility & contrast

On white

6.22
#594ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#594ECB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #594ECB
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##594ECB#FFFFFF#000000##FFFFFF
##594ECB1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#1E6C85
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #594ecb;
/* rgb */ color: rgb(89, 78, 203);
/* oklch */ color: oklch(50.8% 0.187 281.4);
Tailwind
colors: {
  custom: {
    50: '#9280dc',
    500: '#594ecb',
    950: '#000000',
  },
}
SCSS
$custom: #594ecb;
$custom-light: #9280dc;
$custom-dark: #000000;
JSON
{
  "hex": "#594ecb",
  "rgb": {
    "r": 89,
    "g": 78,
    "b": 203
  },
  "hsl": {
    "h": 245.28,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50794,
    "c": 0.18653,
    "h": 281.4
  },
  "luminance": 0.11884
}

Semantic roles & 50–950 ramp

primary
#594ECB
secondary
#D0D5A0
accent
#DE4AD1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #594ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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