#4B59C4#4B59C4

#4B59C4 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.2% C 0.166 H 273.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4B59C4
RGBrgb(75, 89, 196)
HSLhsl(233, 51%, 53%)
HSVhsv(233, 62%, 77%)
CMYKcmyk(61.7%, 54.6%, 0%, 23.1%)
CIE-LABlab(42.19, 27.72, -57.77)
CIE-LCHlch(42.19, 64.08, 295.64°)
OKLaboklab(51.24% 0.0099 -0.1658)
OKLCHoklch(51.24% 0.166 273.4)
XYZxyz(16.4345, 12.6248, 53.7846)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B59C4 #C4B64B
analogous
#4B95C4 #4B59C4 #794BC4
triadic
#4B59C4 #C44B59 #59C44B
tetradic
#4B59C4 #C44B95 #C4B64B #4BC479
square
#4B59C4 #C44B95 #C4B64B #4BC479
split-complementary
#4B59C4 #C4794B #95C44B
monochromatic
#252D70 #34409E #4B59C4 #7984D3 #A7AEE2

Accessibility & contrast

On white

5.96
#4B59C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4B59C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B59C4
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B59C4#FFFFFF#000000##FFFFFF
##4B59C41.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0969C8
Deuteranopia (green-blind)
#005EC2
Tritanopia (blue-blind)
#007286
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4b59c4;
/* rgb */ color: rgb(75, 89, 196);
/* oklch */ color: oklch(51.2% 0.166 273.4);
Tailwind
colors: {
  custom: {
    50: '#8987d7',
    500: '#4b59c4',
    950: '#000000',
  },
}
SCSS
$custom: #4b59c4;
$custom-light: #8987d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b59c4",
  "rgb": {
    "r": 75,
    "g": 89,
    "b": 196
  },
  "hsl": {
    "h": 233.058,
    "s": 50.628,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51241,
    "c": 0.1661,
    "h": 273.4
  },
  "luminance": 0.12626
}

Semantic roles & 50–950 ramp

primary
#4B59C4
secondary
#CFC99B
accent
#CA4EDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0D0B14
muted
#7D7C83

Preview Lab

Preview with #4B59C4

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

Preview Lab → · Contrast checker → · Palette generator →

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