#4E4883#4E4883

#4E4883 is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.6% C 0.095 H 286.4°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#4E4883
RGBrgb(78, 72, 131)
HSLhsl(246, 29%, 40%)
HSVhsv(246, 45%, 51%)
CMYKcmyk(40.5%, 45%, 0%, 48.6%)
CIE-LABlab(33.76, 18.01, -32.43)
CIE-LCHlch(33.76, 37.10, 299.04°)
OKLaboklab(43.61% 0.0269 -0.0914)
OKLCHoklch(43.61% 0.095 286.4)
XYZxyz(9.5548, 7.8928, 22.4884)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4883 #7D8348
analogous
#485F83 #4E4883 #6C4883
triadic
#4E4883 #834E48 #48834E
tetradic
#4E4883 #83485F #7D8348 #48836C
square
#4E4883 #83485F #7D8348 #48836C
split-complementary
#4E4883 #836C48 #5F8348
monochromatic
#1F1D34 #36325C #4E4883 #6860A8 #8D88BE

Accessibility & contrast

On white

8.14
#4E4883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4E4883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4883
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4883#FFFFFF#000000##FFFFFF
##4E48831.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335185
Deuteranopia (green-blind)
#324E82
Tritanopia (blue-blind)
#3F545F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e4883;
/* rgb */ color: rgb(78, 72, 131);
/* oklch */ color: oklch(43.6% 0.095 286.4);
Tailwind
colors: {
  custom: {
    50: '#827ba7',
    500: '#4e4883',
    950: '#000000',
  },
}
SCSS
$custom: #4e4883;
$custom-light: #827ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4883",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 131
  },
  "hsl": {
    "h": 246.102,
    "s": 29.064,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43605,
    "c": 0.09532,
    "h": 286.4
  },
  "luminance": 0.07893
}

Semantic roles & 50–950 ramp

primary
#4E4883
secondary
#A5A97E
accent
#C562BB
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #4E4883

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

Preview Lab → · Contrast checker → · Palette generator →

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