#4B59C7#4B59C7

#4B59C7 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.5% C 0.170 H 273.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#4B59C7
RGBrgb(75, 89, 199)
HSLhsl(233, 53%, 54%)
HSVhsv(233, 62%, 78%)
CMYKcmyk(62.3%, 55.3%, 0%, 22%)
CIE-LABlab(42.40, 28.75, -59.16)
CIE-LCHlch(42.40, 65.78, 295.92°)
OKLaboklab(51.47% 0.0101 -0.1699)
OKLCHoklch(51.47% 0.17 273.4)
XYZxyz(16.7794, 12.7627, 55.6010)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B59C7 #C7B94B
analogous
#4B97C7 #4B59C7 #7B4BC7
triadic
#4B59C7 #C74B59 #59C74B
tetradic
#4B59C7 #C74B97 #C7B94B #4BC77B
square
#4B59C7 #C74B97 #C7B94B #4BC77B
split-complementary
#4B59C7 #C77B4B #97C74B
monochromatic
#242D74 #323FA2 #4B59C7 #7A84D6 #A8AFE4

Accessibility & contrast

On white

5.91
#4B59C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4B59C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B59C7
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B59C7#FFFFFF#000000##FFFFFF
##4B59C71.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACB
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4b59c7;
/* rgb */ color: rgb(75, 89, 199);
/* oklch */ color: oklch(51.5% 0.170 273.4);
Tailwind
colors: {
  custom: {
    50: '#8987d9',
    500: '#4b59c7',
    950: '#000000',
  },
}
SCSS
$custom: #4b59c7;
$custom-light: #8987d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b59c7",
  "rgb": {
    "r": 75,
    "g": 89,
    "b": 199
  },
  "hsl": {
    "h": 233.226,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51466,
    "c": 0.17021,
    "h": 273.4
  },
  "luminance": 0.12764
}

Semantic roles & 50–950 ramp

primary
#4B59C7
secondary
#D1CB9C
accent
#CC4CDC
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4B59C7

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

Preview Lab → · Contrast checker → · Palette generator →

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