#4E34DF#4E34DF

#4E34DF is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 48.0% C 0.241 H 279.2°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#4E34DF
RGBrgb(78, 52, 223)
HSLhsl(249, 73%, 54%)
HSVhsv(249, 77%, 87%)
CMYKcmyk(65%, 76.7%, 0%, 12.5%)
CIE-LABlab(36.75, 58.09, -82.23)
CIE-LCHlch(36.75, 100.68, 305.24°)
OKLaboklab(48.04% 0.0384 -0.2374)
OKLCHoklch(48.04% 0.241 279.2)
XYZxyz(17.6849, 9.4019, 70.6805)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E34DF #C5DF34
analogous
#3470DF #4E34DF #A434DF
triadic
#4E34DF #DF4E34 #34DF4E
tetradic
#4E34DF #DF3470 #C5DF34 #34DFA4
square
#4E34DF #DF3470 #C5DF34 #34DFA4
split-complementary
#4E34DF #DFA434 #70DF34
monochromatic
#261584 #351DB9 #4E34DF #7C69E7 #AA9EF0

Accessibility & contrast

On white

7.29
#4E34DF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4E34DF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E34DF
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E34DF#FFFFFF#000000##FFFFFF
##4E34DF1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DE4
Deuteranopia (green-blind)
#0050DC
Tritanopia (blue-blind)
#006789
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e34df;
/* rgb */ color: rgb(78, 52, 223);
/* oklch */ color: oklch(48.0% 0.241 279.2);
Tailwind
colors: {
  custom: {
    50: '#9270ea',
    500: '#4e34df',
    950: '#000000',
  },
}
SCSS
$custom: #4e34df;
$custom-light: #9270ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4e34df",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 223
  },
  "hsl": {
    "h": 249.123,
    "s": 72.766,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48044,
    "c": 0.24054,
    "h": 279.2
  },
  "luminance": 0.09403
}

Semantic roles & 50–950 ramp

primary
#4E34DF
secondary
#D1DC93
accent
#EF38D4
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0F0816
muted
#7E7B84

Preview Lab

Preview with #4E34DF

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

Preview Lab → · Contrast checker → · Palette generator →

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