#4E3CBB#4E3CBB

#4E3CBB is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.7% C 0.190 H 282.3°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#4E3CBB
RGBrgb(78, 60, 187)
HSLhsl(249, 51%, 48%)
HSVhsv(249, 68%, 73%)
CMYKcmyk(58.3%, 67.9%, 0%, 26.7%)
CIE-LABlab(34.88, 43.01, -64.40)
CIE-LCHlch(34.88, 77.44, 303.74°)
OKLaboklab(45.7% 0.0405 -0.1854)
OKLCHoklch(45.7% 0.19 282.3)
XYZxyz(13.7246, 8.4384, 47.9096)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3CBB #A9BB3C
analogous
#3C69BB #4E3CBB #8D3CBB
triadic
#4E3CBB #BB4E3C #3CBB4E
tetradic
#4E3CBB #BB3C69 #A9BB3C #3CBB8D
square
#4E3CBB #BB3C69 #A9BB3C #3CBB8D
split-complementary
#4E3CBB #BB8D3C #69BB3C
monochromatic
#271E5E #3B2D8D #4E3CBB #7566CE #9F95DD

Accessibility & contrast

On white

7.81
#4E3CBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4E3CBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3CBB
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3CBB#FFFFFF#000000##FFFFFF
##4E3CBB1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#004EB9
Tritanopia (blue-blind)
#0B5D76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e3cbb;
/* rgb */ color: rgb(78, 60, 187);
/* oklch */ color: oklch(45.7% 0.190 282.3);
Tailwind
colors: {
  custom: {
    50: '#8b73d0',
    500: '#4e3cbb',
    950: '#000000',
  },
}
SCSS
$custom: #4e3cbb;
$custom-light: #8b73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3cbb",
  "rgb": {
    "r": 78,
    "g": 60,
    "b": 187
  },
  "hsl": {
    "h": 248.504,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45701,
    "c": 0.18973,
    "h": 282.3
  },
  "luminance": 0.08439
}

Semantic roles & 50–950 ramp

primary
#4E3CBB
secondary
#BFC88B
accent
#DB4DC7
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4E3CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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