#4C59E6#4C59E6

#4C59E6 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.0% C 0.211 H 273.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#4C59E6
RGBrgb(76, 89, 230)
HSLhsl(235, 75%, 60%)
HSVhsv(235, 67%, 90%)
CMYKcmyk(67%, 61.3%, 0%, 9.8%)
CIE-LABlab(44.79, 39.43, -73.01)
CIE-LCHlch(44.79, 82.98, 298.37°)
OKLaboklab(53.98% 0.0111 -0.2106)
OKLCHoklch(53.98% 0.211 273)
XYZxyz(20.8310, 14.3925, 76.5278)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C59E6 #E6D94C
analogous
#4CA6E6 #4C59E6 #8C4CE6
triadic
#4C59E6 #E64C59 #59E64C
tetradic
#4C59E6 #E64CA6 #E6D94C #4CE68C
square
#4C59E6 #E64CA6 #E6D94C #4CE68C
split-complementary
#4C59E6 #E68C4C #A6E64C
monochromatic
#1722A1 #1E2ED7 #4C59E6 #828BED #B7BDF5

Accessibility & contrast

On white

5.41
#4C59E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#4C59E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C59E6
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C59E6#FFFFFF#000000##FFFFFF
##4C59E61.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EB
Deuteranopia (green-blind)
#0063E3
Tritanopia (blue-blind)
#007D97
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4c59e6;
/* rgb */ color: rgb(76, 89, 230);
/* oklch */ color: oklch(54.0% 0.211 273.0);
Tailwind
colors: {
  custom: {
    50: '#9088ef',
    500: '#4c59e6',
    950: '#000000',
  },
}
SCSS
$custom: #4c59e6;
$custom-light: #9088ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4c59e6",
  "rgb": {
    "r": 76,
    "g": 89,
    "b": 230
  },
  "hsl": {
    "h": 234.935,
    "s": 75.49,
    "l": 60
  },
  "oklch": {
    "l": 0.53983,
    "c": 0.21087,
    "h": 273
  },
  "luminance": 0.14394
}

Semantic roles & 50–950 ramp

primary
#4C59E6
secondary
#E5E0A9
accent
#E236F2
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4C59E6

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

Preview Lab → · Contrast checker → · Palette generator →

#4C59E6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva