#4C34CB#4C34CB

#4C34CB is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.9% C 0.218 H 280.7°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#4C34CB
RGBrgb(76, 52, 203)
HSLhsl(250, 59%, 50%)
HSVhsv(250, 74%, 80%)
CMYKcmyk(62.6%, 74.4%, 0%, 20.4%)
CIE-LABlab(34.61, 51.98, -74.22)
CIE-LCHlch(34.61, 90.61, 305.00°)
OKLaboklab(45.91% 0.0406 -0.2141)
OKLCHoklch(45.91% 0.218 280.7)
XYZxyz(14.9846, 8.3031, 57.3014)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C34CB #B3CB34
analogous
#3468CB #4C34CB #9734CB
triadic
#4C34CB #CB4C34 #34CB4C
tetradic
#4C34CB #CB3468 #B3CB34 #34CB97
square
#4C34CB #CB3468 #B3CB34 #34CB97
split-complementary
#4C34CB #CB9734 #68CB34
monochromatic
#281B6A #3A289A #4C34CB #7765D7 #A295E4

Accessibility & contrast

On white

7.89
#4C34CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4C34CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C34CB
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C34CB#FFFFFF#000000##FFFFFF
##4C34CB1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CF
Deuteranopia (green-blind)
#004CC8
Tritanopia (blue-blind)
#005F7D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4c34cb;
/* rgb */ color: rgb(76, 52, 203);
/* oklch */ color: oklch(45.9% 0.218 280.7);
Tailwind
colors: {
  custom: {
    50: '#8d6fdc',
    500: '#4c34cb',
    950: '#000000',
  },
}
SCSS
$custom: #4c34cb;
$custom-light: #8d6fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c34cb",
  "rgb": {
    "r": 76,
    "g": 52,
    "b": 203
  },
  "hsl": {
    "h": 249.536,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.4591,
    "c": 0.21795,
    "h": 280.7
  },
  "luminance": 0.08304
}

Semantic roles & 50–950 ramp

primary
#4C34CB
secondary
#C4CF8C
accent
#E245C9
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4C34CB

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

Preview Lab → · Contrast checker → · Palette generator →

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