#4E38F2#4E38F2

#4E38F2 is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 50.4% C 0.258 H 277.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#4E38F2
RGBrgb(78, 56, 242)
HSLhsl(247, 88%, 58%)
HSVhsv(247, 77%, 95%)
CMYKcmyk(67.8%, 76.9%, 0%, 5.1%)
CIE-LABlab(39.34, 61.70, -88.74)
CIE-LCHlch(39.34, 108.09, 304.81°)
OKLaboklab(50.43% 0.0317 -0.2564)
OKLCHoklch(50.43% 0.258 277.1)
XYZxyz(20.5779, 10.8570, 84.9984)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E38F2 #DCF238
analogous
#387FF2 #4E38F2 #AB38F2
triadic
#4E38F2 #F24E38 #38F24E
tetradic
#4E38F2 #F2387F #DCF238 #38F2AB
square
#4E38F2 #F2387F #DCF238 #38F2AB
split-complementary
#4E38F2 #F2AB38 #7FF238
monochromatic
#1D0BA5 #270FDE #4E38F2 #8171F6 #B4ABFA

Accessibility & contrast

On white

6.62
#4E38F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4E38F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E38F2
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E38F2#FFFFFF#000000##FFFFFF
##4E38F21.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064F7
Deuteranopia (green-blind)
#0055EF
Tritanopia (blue-blind)
#007094
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e38f2;
/* rgb */ color: rgb(78, 56, 242);
/* oklch */ color: oklch(50.4% 0.258 277.1);
Tailwind
colors: {
  custom: {
    50: '#9573f8',
    500: '#4e38f2',
    950: '#000000',
  },
}
SCSS
$custom: #4e38f2;
$custom-light: #9573f8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e38f2",
  "rgb": {
    "r": 78,
    "g": 56,
    "b": 242
  },
  "hsl": {
    "h": 247.097,
    "s": 87.736,
    "l": 58.431
  },
  "oklch": {
    "l": 0.50427,
    "c": 0.25841,
    "h": 277.1
  },
  "luminance": 0.10859
}

Semantic roles & 50–950 ramp

primary
#4E38F2
secondary
#DFE89E
accent
#FE2AE5
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#0F0817
muted
#7F7B85

Preview Lab

Preview with #4E38F2

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

Preview Lab → · Contrast checker → · Palette generator →

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