#4E3FA7#4E3FA7

#4E3FA7 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.5% C 0.160 H 284.4°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#4E3FA7
RGBrgb(78, 63, 167)
HSLhsl(249, 45%, 45%)
HSVhsv(249, 62%, 65%)
CMYKcmyk(53.3%, 62.3%, 0%, 34.5%)
CIE-LABlab(33.91, 34.96, -54.10)
CIE-LCHlch(33.91, 64.41, 302.87°)
OKLaboklab(44.49% 0.0398 -0.1551)
OKLCHoklch(44.49% 0.16 284.4)
XYZxyz(11.8923, 7.9641, 37.4623)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3FA7 #98A73F
analogous
#3F64A7 #4E3FA7 #823FA7
triadic
#4E3FA7 #A74E3F #3FA74E
tetradic
#4E3FA7 #A73F64 #98A73F #3FA782
square
#4E3FA7 #A73F64 #98A73F #3FA782
split-complementary
#4E3FA7 #A7823F #64A73F
monochromatic
#241D4E #392E7B #4E3FA7 #6E60C3 #978DD4

Accessibility & contrast

On white

8.10
#4E3FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4E3FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3FA7
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3FA7#FFFFFF#000000##FFFFFF
##4E3FA71.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AA
Deuteranopia (green-blind)
#004CA5
Tritanopia (blue-blind)
#2A586D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e3fa7;
/* rgb */ color: rgb(78, 63, 167);
/* oklch */ color: oklch(44.5% 0.160 284.4);
Tailwind
colors: {
  custom: {
    50: '#8775c2',
    500: '#4e3fa7',
    950: '#000000',
  },
}
SCSS
$custom: #4e3fa7;
$custom-light: #8775c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3fa7",
  "rgb": {
    "r": 78,
    "g": 63,
    "b": 167
  },
  "hsl": {
    "h": 248.654,
    "s": 45.217,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44488,
    "c": 0.16013,
    "h": 284.4
  },
  "luminance": 0.07965
}

Semantic roles & 50–950 ramp

primary
#4E3FA7
secondary
#B6BF83
accent
#D553C2
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E3FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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