#4E3EB7#4E3EB7

#4E3EB7 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.7% C 0.182 H 282.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#4E3EB7
RGBrgb(78, 62, 183)
HSLhsl(248, 49%, 48%)
HSVhsv(248, 66%, 72%)
CMYKcmyk(57.4%, 66.1%, 0%, 28.2%)
CIE-LABlab(34.97, 40.59, -61.89)
CIE-LCHlch(34.97, 74.02, 303.26°)
OKLaboklab(45.66% 0.0392 -0.178)
OKLCHoklch(45.66% 0.182 282.4)
XYZxyz(13.4091, 8.4830, 45.7214)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3EB7 #A7B73E
analogous
#3E6AB7 #4E3EB7 #8A3EB7
triadic
#4E3EB7 #B74E3E #3EB74E
tetradic
#4E3EB7 #B73E6A #A7B73E #3EB78A
square
#4E3EB7 #B73E6A #A7B73E #3EB78A
split-complementary
#4E3EB7 #B78A3E #6AB73E
monochromatic
#271F5C #3B2F89 #4E3EB7 #7467CB #9E94DB

Accessibility & contrast

On white

7.79
#4E3EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3EB7
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3EB7#FFFFFF#000000##FFFFFF
##4E3EB71.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#004EB5
Tritanopia (blue-blind)
#155D75
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e3eb7;
/* rgb */ color: rgb(78, 62, 183);
/* oklch */ color: oklch(45.7% 0.182 282.4);
Tailwind
colors: {
  custom: {
    50: '#8a74ce',
    500: '#4e3eb7',
    950: '#000000',
  },
}
SCSS
$custom: #4e3eb7;
$custom-light: #8a74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3eb7",
  "rgb": {
    "r": 78,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 247.934,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45661,
    "c": 0.18228,
    "h": 282.4
  },
  "luminance": 0.08484
}

Semantic roles & 50–950 ramp

primary
#4E3EB7
secondary
#BEC68A
accent
#D94FC7
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4E3EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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