#4E458B#4E458B

#4E458B is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.5% C 0.112 H 286.7°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#4E458B
RGBrgb(78, 69, 139)
HSLhsl(248, 34%, 41%)
HSVhsv(248, 50%, 55%)
CMYKcmyk(43.9%, 50.4%, 0%, 45.5%)
CIE-LABlab(33.43, 22.40, -37.87)
CIE-LCHlch(33.43, 44.00, 300.60°)
OKLaboklab(43.52% 0.0321 -0.1074)
OKLCHoklch(43.52% 0.112 286.7)
XYZxyz(9.9289, 7.7397, 25.3918)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E458B #828B45
analogous
#455F8B #4E458B #71458B
triadic
#4E458B #8B4E45 #458B4E
tetradic
#4E458B #8B455F #828B45 #458B71
square
#4E458B #8B455F #828B45 #458B71
split-complementary
#4E458B #8B7145 #5F8B45
monochromatic
#201C39 #373162 #4E458B #685EAF #8F87C3

Accessibility & contrast

On white

8.24
#4E458B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4E458B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E458B
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E458B#FFFFFF#000000##FFFFFF
##4E458B1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28508E
Deuteranopia (green-blind)
#274D89
Tritanopia (blue-blind)
#3C5361
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e458b;
/* rgb */ color: rgb(78, 69, 139);
/* oklch */ color: oklch(43.5% 0.112 286.7);
Tailwind
colors: {
  custom: {
    50: '#8378ad',
    500: '#4e458b',
    950: '#000000',
  },
}
SCSS
$custom: #4e458b;
$custom-light: #8378ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4e458b",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 139
  },
  "hsl": {
    "h": 247.714,
    "s": 33.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43515,
    "c": 0.1121,
    "h": 286.7
  },
  "luminance": 0.0774
}

Semantic roles & 50–950 ramp

primary
#4E458B
secondary
#A8AF7D
accent
#CA5EBC
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E458B

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

Preview Lab → · Contrast checker → · Palette generator →

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