#4E41AF#4E41AF

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

Color values

HEX#4E41AF
RGBrgb(78, 65, 175)
HSLhsl(247, 46%, 47%)
HSVhsv(247, 63%, 69%)
CMYKcmyk(55.4%, 62.9%, 0%, 31.4%)
CIE-LABlab(34.99, 36.28, -57.11)
CIE-LCHlch(34.99, 67.66, 302.42°)
OKLaboklab(45.48% 0.0372 -0.164)
OKLCHoklch(45.48% 0.168 282.8)
XYZxyz(12.7677, 8.4947, 41.5160)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E41AF #A2AF41
analogous
#416BAF #4E41AF #8541AF
triadic
#4E41AF #AF4E41 #41AF4E
tetradic
#4E41AF #AF416B #A2AF41 #41AF85
square
#4E41AF #AF416B #A2AF41 #41AF85
split-complementary
#4E41AF #AF8541 #6BAF41
monochromatic
#262056 #3A3082 #4E41AF #7267C6 #9B93D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E41AF#FFFFFF#000000##FFFFFF
##4E41AF1.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)
#0056B3
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#215C72
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e41af;
/* rgb */ color: rgb(78, 65, 175);
/* oklch */ color: oklch(45.5% 0.168 282.8);
Tailwind
colors: {
  custom: {
    50: '#8976c8',
    500: '#4e41af',
    950: '#000000',
  },
}
SCSS
$custom: #4e41af;
$custom-light: #8976c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e41af",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 247.091,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45476,
    "c": 0.16812,
    "h": 282.8
  },
  "luminance": 0.08495
}

Semantic roles & 50–950 ramp

primary
#4E41AF
secondary
#BCC289
accent
#D552C6
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4E41AF

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

Preview Lab → · Contrast checker → · Palette generator →

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