#4C34D2#4C34D2

#4C34D2 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.6% C 0.226 H 279.9°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#4C34D2
RGBrgb(76, 52, 210)
HSLhsl(249, 64%, 51%)
HSVhsv(249, 75%, 82%)
CMYKcmyk(63.8%, 75.2%, 0%, 17.6%)
CIE-LABlab(35.29, 54.06, -77.16)
CIE-LCHlch(35.29, 94.21, 305.02°)
OKLaboklab(46.6% 0.0389 -0.2227)
OKLCHoklch(46.6% 0.226 279.9)
XYZxyz(15.8376, 8.6444, 61.7942)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C34D2 #BAD234
analogous
#346BD2 #4C34D2 #9B34D2
triadic
#4C34D2 #D24C34 #34D24C
tetradic
#4C34D2 #D2346B #BAD234 #34D29B
square
#4C34D2 #D2346B #BAD234 #34D29B
split-complementary
#4C34D2 #D29B34 #6BD234
monochromatic
#271972 #3824A4 #4C34D2 #7866DD #A498E8

Accessibility & contrast

On white

7.69
#4C34D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4C34D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C34D2
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C34D2#FFFFFF#000000##FFFFFF
##4C34D21.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D7
Deuteranopia (green-blind)
#004DCF
Tritanopia (blue-blind)
#006281
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4c34d2;
/* rgb */ color: rgb(76, 52, 210);
/* oklch */ color: oklch(46.6% 0.226 279.9);
Tailwind
colors: {
  custom: {
    50: '#8f6fe1',
    500: '#4c34d2',
    950: '#000000',
  },
}
SCSS
$custom: #4c34d2;
$custom-light: #8f6fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c34d2",
  "rgb": {
    "r": 76,
    "g": 52,
    "b": 210
  },
  "hsl": {
    "h": 249.114,
    "s": 63.71,
    "l": 51.373
  },
  "oklch": {
    "l": 0.46597,
    "c": 0.22608,
    "h": 279.9
  },
  "luminance": 0.08646
}

Semantic roles & 50–950 ramp

primary
#4C34D2
secondary
#C9D48E
accent
#E741CE
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0815
muted
#7E7B84

Preview Lab

Preview with #4C34D2

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

Preview Lab → · Contrast checker → · Palette generator →

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