#4E4395#4E4395

#4E4395 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.8% C 0.130 H 285.9°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#4E4395
RGBrgb(78, 67, 149)
HSLhsl(248, 38%, 42%)
HSVhsv(248, 55%, 58%)
CMYKcmyk(47.7%, 55%, 0%, 41.6%)
CIE-LABlab(33.57, 26.80, -43.77)
CIE-LCHlch(33.57, 51.32, 301.48°)
OKLaboklab(43.83% 0.0354 -0.1247)
OKLCHoklch(43.83% 0.13 285.9)
XYZxyz(10.5723, 7.8035, 29.3771)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4395 #8A9543
analogous
#436195 #4E4395 #774395
triadic
#4E4395 #954E43 #43954E
tetradic
#4E4395 #954361 #8A9543 #439577
square
#4E4395 #954361 #8A9543 #439577
split-complementary
#4E4395 #957743 #619543
monochromatic
#221D41 #38306B #4E4395 #6A5EB7 #9189CA

Accessibility & contrast

On white

8.20
#4E4395 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4E4395 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4395
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4395#FFFFFF#000000##FFFFFF
##4E43951.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185198
Deuteranopia (green-blind)
#164D93
Tritanopia (blue-blind)
#375565
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e4395;
/* rgb */ color: rgb(78, 67, 149);
/* oklch */ color: oklch(43.8% 0.130 285.9);
Tailwind
colors: {
  custom: {
    50: '#8577b5',
    500: '#4e4395',
    950: '#000000',
  },
}
SCSS
$custom: #4e4395;
$custom-light: #8577b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4395",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 149
  },
  "hsl": {
    "h": 248.049,
    "s": 37.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43825,
    "c": 0.12966,
    "h": 285.9
  },
  "luminance": 0.07804
}

Semantic roles & 50–950 ramp

primary
#4E4395
secondary
#AEB57F
accent
#CE5ABE
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4E4395

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

Preview Lab → · Contrast checker → · Palette generator →

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