#4E37C2#4E37C2

#4E37C2 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.6% C 0.204 H 282.2°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#4E37C2
RGBrgb(78, 55, 194)
HSLhsl(250, 56%, 49%)
HSVhsv(250, 72%, 76%)
CMYKcmyk(59.8%, 71.6%, 0%, 23.9%)
CIE-LABlab(34.49, 47.94, -69.15)
CIE-LCHlch(34.49, 84.14, 304.74°)
OKLaboklab(45.61% 0.0432 -0.1993)
OKLCHoklch(45.61% 0.204 282.2)
XYZxyz(14.2426, 8.2461, 51.8696)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E37C2 #ABC237
analogous
#3766C2 #4E37C2 #9437C2
triadic
#4E37C2 #C24E37 #37C24E
tetradic
#4E37C2 #C23766 #ABC237 #37C294
square
#4E37C2 #C23766 #ABC237 #37C294
split-complementary
#4E37C2 #C29437 #66C237
monochromatic
#281C63 #3B2992 #4E37C2 #7663D3 #A093E0

Accessibility & contrast

On white

7.93
#4E37C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4E37C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E37C2
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E37C2#FFFFFF#000000##FFFFFF
##4E37C21.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C6
Deuteranopia (green-blind)
#004CBF
Tritanopia (blue-blind)
#005D79
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e37c2;
/* rgb */ color: rgb(78, 55, 194);
/* oklch */ color: oklch(45.6% 0.204 282.2);
Tailwind
colors: {
  custom: {
    50: '#8d70d6',
    500: '#4e37c2',
    950: '#000000',
  },
}
SCSS
$custom: #4e37c2;
$custom-light: #8d70d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e37c2",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 249.928,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45613,
    "c": 0.20391,
    "h": 282.2
  },
  "luminance": 0.08247
}

Semantic roles & 50–950 ramp

primary
#4E37C2
secondary
#C1CB89
accent
#DF49C6
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4E37C2

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

Preview Lab → · Contrast checker → · Palette generator →

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