#4C59E7#4C59E7

#4C59E7 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.1% C 0.212 H 273.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4C59E7
RGBrgb(76, 89, 231)
HSLhsl(235, 76%, 60%)
HSVhsv(235, 67%, 91%)
CMYKcmyk(67.1%, 61.5%, 0%, 9.4%)
CIE-LABlab(44.87, 39.77, -73.45)
CIE-LCHlch(44.87, 83.52, 298.43°)
OKLaboklab(54.07% 0.011 -0.2119)
OKLCHoklch(54.07% 0.212 273)
XYZxyz(20.9718, 14.4488, 77.2695)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C59E7 #E7DA4C
analogous
#4CA6E7 #4C59E7 #8D4CE7
triadic
#4C59E7 #E74C59 #59E74C
tetradic
#4C59E7 #E74CA6 #E7DA4C #4CE78D
square
#4C59E7 #E74CA6 #E7DA4C #4CE78D
split-complementary
#4C59E7 #E78D4C #A6E74C
monochromatic
#1622A3 #1D2DD9 #4C59E7 #828BEE #B8BDF5

Accessibility & contrast

On white

5.40
#4C59E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4C59E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C59E7
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C59E7#FFFFFF#000000##FFFFFF
##4C59E71.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#0063E4
Tritanopia (blue-blind)
#007D98
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4c59e7;
/* rgb */ color: rgb(76, 89, 231);
/* oklch */ color: oklch(54.1% 0.212 273.0);
Tailwind
colors: {
  custom: {
    50: '#9088f0',
    500: '#4c59e7',
    950: '#000000',
  },
}
SCSS
$custom: #4c59e7;
$custom-light: #9088f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c59e7",
  "rgb": {
    "r": 76,
    "g": 89,
    "b": 231
  },
  "hsl": {
    "h": 234.968,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54066,
    "c": 0.21215,
    "h": 273
  },
  "luminance": 0.14451
}

Semantic roles & 50–950 ramp

primary
#4C59E7
secondary
#E5E0AA
accent
#C70DD9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4C59E7

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

Preview Lab → · Contrast checker → · Palette generator →

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