#4E3DB8#4E3DB8

#4E3DB8 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.6% C 0.185 H 282.5°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#4E3DB8
RGBrgb(78, 61, 184)
HSLhsl(248, 50%, 48%)
HSVhsv(248, 67%, 72%)
CMYKcmyk(57.6%, 66.8%, 0%, 27.8%)
CIE-LABlab(34.84, 41.49, -62.70)
CIE-LCHlch(34.84, 75.18, 303.50°)
OKLaboklab(45.59% 0.04 -0.1804)
OKLCHoklch(45.59% 0.185 282.5)
XYZxyz(13.4597, 8.4170, 46.2535)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3DB8 #A7B83D
analogous
#3D69B8 #4E3DB8 #8B3DB8
triadic
#4E3DB8 #B84E3D #3DB84E
tetradic
#4E3DB8 #B83D69 #A7B83D #3DB88B
square
#4E3DB8 #B83D69 #A7B83D #3DB88B
split-complementary
#4E3DB8 #B88B3D #69B83D
monochromatic
#271F5C #3B2E8A #4E3DB8 #7466CC #9E94DB

Accessibility & contrast

On white

7.83
#4E3DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4E3DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3DB8
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3DB8#FFFFFF#000000##FFFFFF
##4E3DB81.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#004EB6
Tritanopia (blue-blind)
#135C75
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e3db8;
/* rgb */ color: rgb(78, 61, 184);
/* oklch */ color: oklch(45.6% 0.185 282.5);
Tailwind
colors: {
  custom: {
    50: '#8a74ce',
    500: '#4e3db8',
    950: '#000000',
  },
}
SCSS
$custom: #4e3db8;
$custom-light: #8a74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3db8",
  "rgb": {
    "r": 78,
    "g": 61,
    "b": 184
  },
  "hsl": {
    "h": 248.293,
    "s": 50.204,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45591,
    "c": 0.18476,
    "h": 282.5
  },
  "luminance": 0.08418
}

Semantic roles & 50–950 ramp

primary
#4E3DB8
secondary
#BEC78A
accent
#DA4EC6
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4E3DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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