#4C59D7#4C59D7

#4C59D7 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.8% C 0.191 H 273.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#4C59D7
RGBrgb(76, 89, 215)
HSLhsl(234, 63%, 57%)
HSVhsv(234, 65%, 84%)
CMYKcmyk(64.7%, 58.6%, 0%, 15.7%)
CIE-LABlab(43.63, 34.36, -66.37)
CIE-LCHlch(43.63, 74.73, 297.37°)
OKLaboklab(52.77% 0.0114 -0.1911)
OKLCHoklch(52.77% 0.191 273.4)
XYZxyz(18.8145, 13.5859, 65.9076)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C59D7 #D7CA4C
analogous
#4C9FD7 #4C59D7 #844CD7
triadic
#4C59D7 #D74C59 #59D74C
tetradic
#4C59D7 #D74C9F #D7CA4C #4CD784
square
#4C59D7 #D74C9F #D7CA4C #4CD784
split-complementary
#4C59D7 #D7844C #9FD74C
monochromatic
#1F298A #2A38BC #4C59D7 #7E87E2 #B0B6ED

Accessibility & contrast

On white

5.65
#4C59D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#4C59D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C59D7
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C59D7#FFFFFF#000000##FFFFFF
##4C59D71.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#0061D4
Tritanopia (blue-blind)
#00788F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4c59d7;
/* rgb */ color: rgb(76, 89, 215);
/* oklch */ color: oklch(52.8% 0.191 273.4);
Tailwind
colors: {
  custom: {
    50: '#8d87e4',
    500: '#4c59d7',
    950: '#000000',
  },
}
SCSS
$custom: #4c59d7;
$custom-light: #8d87e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c59d7",
  "rgb": {
    "r": 76,
    "g": 89,
    "b": 215
  },
  "hsl": {
    "h": 234.388,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52766,
    "c": 0.19141,
    "h": 273.4
  },
  "luminance": 0.13588
}

Semantic roles & 50–950 ramp

primary
#4C59D7
secondary
#DCD6A3
accent
#D741E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4C59D7

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

Preview Lab → · Contrast checker → · Palette generator →

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