#4C34D1#4C34D1

#4C34D1 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.5% C 0.225 H 280.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#4C34D1
RGBrgb(76, 52, 209)
HSLhsl(249, 63%, 51%)
HSVhsv(249, 75%, 82%)
CMYKcmyk(63.6%, 75.1%, 0%, 18%)
CIE-LABlab(35.19, 53.76, -76.74)
CIE-LCHlch(35.19, 93.70, 305.02°)
OKLaboklab(46.5% 0.0392 -0.2215)
OKLCHoklch(46.5% 0.225 280)
XYZxyz(15.7134, 8.5947, 61.1401)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C34D1 #B9D134
analogous
#346AD1 #4C34D1 #9A34D1
triadic
#4C34D1 #D14C34 #34D14C
tetradic
#4C34D1 #D1346A #B9D134 #34D19A
square
#4C34D1 #D1346A #B9D134 #34D19A
split-complementary
#4C34D1 #D19A34 #6AD134
monochromatic
#271A71 #3825A3 #4C34D1 #7866DC #A498E8

Accessibility & contrast

On white

7.72
#4C34D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4C34D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C34D1
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C34D1#FFFFFF#000000##FFFFFF
##4C34D11.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D5
Deuteranopia (green-blind)
#004DCE
Tritanopia (blue-blind)
#006181
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4c34d1;
/* rgb */ color: rgb(76, 52, 209);
/* oklch */ color: oklch(46.5% 0.225 280.0);
Tailwind
colors: {
  custom: {
    50: '#8f6fe0',
    500: '#4c34d1',
    950: '#000000',
  },
}
SCSS
$custom: #4c34d1;
$custom-light: #8f6fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c34d1",
  "rgb": {
    "r": 76,
    "g": 52,
    "b": 209
  },
  "hsl": {
    "h": 249.172,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46498,
    "c": 0.22493,
    "h": 280
  },
  "luminance": 0.08596
}

Semantic roles & 50–950 ramp

primary
#4C34D1
secondary
#C8D38E
accent
#E642CD
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4C34D1

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

Preview Lab → · Contrast checker → · Palette generator →

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