#4E3DBA#4E3DBA

#4E3DBA is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.8% C 0.187 H 282.2°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#4E3DBA
RGBrgb(78, 61, 186)
HSLhsl(248, 51%, 48%)
HSVhsv(248, 67%, 73%)
CMYKcmyk(58.1%, 67.2%, 0%, 27.1%)
CIE-LABlab(35.01, 42.12, -63.60)
CIE-LCHlch(35.01, 76.28, 303.51°)
OKLaboklab(45.77% 0.0397 -0.183)
OKLCHoklch(45.77% 0.187 282.2)
XYZxyz(13.6708, 8.5015, 47.3654)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3DBA #A9BA3D
analogous
#3D6ABA #4E3DBA #8C3DBA
triadic
#4E3DBA #BA4E3D #3DBA4E
tetradic
#4E3DBA #BA3D6A #A9BA3D #3DBA8C
square
#4E3DBA #BA3D6A #A9BA3D #3DBA8C
split-complementary
#4E3DBA #BA8C3D #6ABA3D
monochromatic
#271F5E #3B2E8C #4E3DBA #7567CD #9F95DC

Accessibility & contrast

On white

7.78
#4E3DBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4E3DBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3DBA
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3DBA#FFFFFF#000000##FFFFFF
##4E3DBA1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#0E5D76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e3dba;
/* rgb */ color: rgb(78, 61, 186);
/* oklch */ color: oklch(45.8% 0.187 282.2);
Tailwind
colors: {
  custom: {
    50: '#8b74d0',
    500: '#4e3dba',
    950: '#000000',
  },
}
SCSS
$custom: #4e3dba;
$custom-light: #8b74d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3dba",
  "rgb": {
    "r": 78,
    "g": 61,
    "b": 186
  },
  "hsl": {
    "h": 248.16,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45766,
    "c": 0.18729,
    "h": 282.2
  },
  "luminance": 0.08502
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E3DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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