#4C34CD#4C34CD

#4C34CD is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 46.1% C 0.220 H 280.5°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#4C34CD
RGBrgb(76, 52, 205)
HSLhsl(249, 60%, 50%)
HSVhsv(249, 75%, 80%)
CMYKcmyk(62.9%, 74.6%, 0%, 19.6%)
CIE-LABlab(34.80, 52.57, -75.06)
CIE-LCHlch(34.80, 91.64, 305.01°)
OKLaboklab(46.11% 0.0401 -0.2166)
OKLCHoklch(46.11% 0.22 280.5)
XYZxyz(15.2244, 8.3991, 58.5647)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C34CD #B5CD34
analogous
#3468CD #4C34CD #9934CD
triadic
#4C34CD #CD4C34 #34CD4C
tetradic
#4C34CD #CD3468 #B5CD34 #34CD99
square
#4C34CD #CD3468 #B5CD34 #34CD99
split-complementary
#4C34CD #CD9934 #68CD34
monochromatic
#271B6C #39279D #4C34CD #7765D9 #A396E5

Accessibility & contrast

On white

7.84
#4C34CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4C34CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C34CD
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C34CD#FFFFFF#000000##FFFFFF
##4C34CD1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D1
Deuteranopia (green-blind)
#004CCA
Tritanopia (blue-blind)
#00607E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4c34cd;
/* rgb */ color: rgb(76, 52, 205);
/* oklch */ color: oklch(46.1% 0.220 280.5);
Tailwind
colors: {
  custom: {
    50: '#8e6fde',
    500: '#4c34cd',
    950: '#000000',
  },
}
SCSS
$custom: #4c34cd;
$custom-light: #8e6fde;
$custom-dark: #000000;
JSON
{
  "hex": "#4c34cd",
  "rgb": {
    "r": 76,
    "g": 52,
    "b": 205
  },
  "hsl": {
    "h": 249.412,
    "s": 60.474,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46105,
    "c": 0.22029,
    "h": 280.5
  },
  "luminance": 0.084
}

Semantic roles & 50–950 ramp

primary
#4C34CD
secondary
#C6D18C
accent
#E444CB
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4C34CD

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

Preview Lab → · Contrast checker → · Palette generator →

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