#4C59EA#4C59EA

#4C59EA is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.3% C 0.216 H 272.9°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4C59EA
RGBrgb(76, 89, 234)
HSLhsl(235, 79%, 61%)
HSVhsv(235, 68%, 92%)
CMYKcmyk(67.5%, 62%, 0%, 8.2%)
CIE-LABlab(45.11, 40.77, -74.75)
CIE-LCHlch(45.11, 85.15, 298.61°)
OKLaboklab(54.32% 0.0109 -0.2157)
OKLCHoklch(54.32% 0.216 272.9)
XYZxyz(21.3992, 14.6198, 79.5201)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C59EA #EADD4C
analogous
#4CA8EA #4C59EA #8E4CEA
triadic
#4C59EA #EA4C59 #59EA4C
tetradic
#4C59EA #EA4CA8 #EADD4C #4CEA8E
square
#4C59EA #EA4CA8 #EADD4C #4CEA8E
split-complementary
#4C59EA #EA8E4C #A8EA4C
monochromatic
#1420A8 #1A2ADF #4C59EA #838CF0 #BABFF7

Accessibility & contrast

On white

5.35
#4C59EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#4C59EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C59EA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C59EA#FFFFFF#000000##FFFFFF
##4C59EA1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EF
Deuteranopia (green-blind)
#0064E7
Tritanopia (blue-blind)
#007E99
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4c59ea;
/* rgb */ color: rgb(76, 89, 234);
/* oklch */ color: oklch(54.3% 0.216 272.9);
Tailwind
colors: {
  custom: {
    50: '#9088f2',
    500: '#4c59ea',
    950: '#000000',
  },
}
SCSS
$custom: #4c59ea;
$custom-light: #9088f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c59ea",
  "rgb": {
    "r": 76,
    "g": 89,
    "b": 234
  },
  "hsl": {
    "h": 235.063,
    "s": 79,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54316,
    "c": 0.21595,
    "h": 272.9
  },
  "luminance": 0.14622
}

Semantic roles & 50–950 ramp

primary
#4C59EA
secondary
#E7E2AB
accent
#CA0ADB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4C59EA

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

Preview Lab → · Contrast checker → · Palette generator →

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