#4C34DD#4C34DD

#4C34DD is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 47.7% C 0.239 H 278.7°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#4C34DD
RGBrgb(76, 52, 221)
HSLhsl(249, 71%, 54%)
HSVhsv(249, 76%, 87%)
CMYKcmyk(65.6%, 76.5%, 0%, 13.3%)
CIE-LABlab(36.39, 57.30, -81.68)
CIE-LCHlch(36.39, 99.78, 305.05°)
OKLaboklab(47.69% 0.0362 -0.2359)
OKLCHoklch(47.69% 0.239 278.7)
XYZxyz(17.2554, 9.2115, 69.2613)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C34DD #C5DD34
analogous
#3470DD #4C34DD #A034DD
triadic
#4C34DD #DD4C34 #34DD4C
tetradic
#4C34DD #DD3470 #C5DD34 #34DDA0
square
#4C34DD #DD3470 #C5DD34 #34DDA0
split-complementary
#4C34DD #DDA034 #70DD34
monochromatic
#251681 #341EB5 #4C34DD #7A68E6 #A89DEF

Accessibility & contrast

On white

7.39
#4C34DD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4C34DD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C34DD
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C34DD#FFFFFF#000000##FFFFFF
##4C34DD1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CE2
Deuteranopia (green-blind)
#004FDA
Tritanopia (blue-blind)
#006687
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4c34dd;
/* rgb */ color: rgb(76, 52, 221);
/* oklch */ color: oklch(47.7% 0.239 278.7);
Tailwind
colors: {
  custom: {
    50: '#9170e9',
    500: '#4c34dd',
    950: '#000000',
  },
}
SCSS
$custom: #4c34dd;
$custom-light: #9170e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c34dd",
  "rgb": {
    "r": 76,
    "g": 52,
    "b": 221
  },
  "hsl": {
    "h": 248.521,
    "s": 71.308,
    "l": 53.529
  },
  "oklch": {
    "l": 0.47694,
    "c": 0.23866,
    "h": 278.7
  },
  "luminance": 0.09213
}

Semantic roles & 50–950 ramp

primary
#4C34DD
secondary
#D0DB92
accent
#EE3AD4
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4C34DD

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

Preview Lab → · Contrast checker → · Palette generator →

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