#4E34DD#4E34DD

#4E34DD is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.8% C 0.238 H 279.4°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#4E34DD
RGBrgb(78, 52, 221)
HSLhsl(249, 71%, 54%)
HSVhsv(249, 76%, 87%)
CMYKcmyk(64.7%, 76.5%, 0%, 13.3%)
CIE-LABlab(36.55, 57.51, -81.42)
CIE-LCHlch(36.55, 99.68, 305.24°)
OKLaboklab(47.84% 0.0389 -0.2351)
OKLCHoklch(47.84% 0.238 279.4)
XYZxyz(17.4169, 9.2947, 69.2688)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E34DD #C3DD34
analogous
#346EDD #4E34DD #A234DD
triadic
#4E34DD #DD4E34 #34DD4E
tetradic
#4E34DD #DD346E #C3DD34 #34DDA2
square
#4E34DD #DD346E #C3DD34 #34DDA2
split-complementary
#4E34DD #DDA234 #6EDD34
monochromatic
#261681 #361EB5 #4E34DD #7C68E6 #A99DEF

Accessibility & contrast

On white

7.34
#4E34DD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4E34DD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E34DD
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E34DD#FFFFFF#000000##FFFFFF
##4E34DD1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.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: #4e34dd;
/* rgb */ color: rgb(78, 52, 221);
/* oklch */ color: oklch(47.8% 0.238 279.4);
Tailwind
colors: {
  custom: {
    50: '#9270e9',
    500: '#4e34dd',
    950: '#000000',
  },
}
SCSS
$custom: #4e34dd;
$custom-light: #9270e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e34dd",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 221
  },
  "hsl": {
    "h": 249.231,
    "s": 71.308,
    "l": 53.529
  },
  "oklch": {
    "l": 0.47844,
    "c": 0.23828,
    "h": 279.4
  },
  "luminance": 0.09296
}

Semantic roles & 50–950 ramp

primary
#4E34DD
secondary
#CFDB92
accent
#EE3AD2
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0F0816
muted
#7E7B84

Preview Lab

Preview with #4E34DD

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

Preview Lab → · Contrast checker → · Palette generator →

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