#4E58AE#4E58AE

#4E58AE is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.7% C 0.136 H 275.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#4E58AE
RGBrgb(78, 88, 174)
HSLhsl(234, 38%, 49%)
HSVhsv(234, 55%, 68%)
CMYKcmyk(55.2%, 49.4%, 0%, 31.8%)
CIE-LABlab(40.66, 21.51, -47.36)
CIE-LCHlch(40.66, 52.01, 294.43°)
OKLaboklab(49.67% 0.0126 -0.1351)
OKLCHoklch(49.67% 0.136 275.3)
XYZxyz(14.2691, 11.6542, 41.5338)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58AE #AEA44E
analogous
#4E88AE #4E58AE #744EAE
triadic
#4E58AE #AE4E58 #58AE4E
tetradic
#4E58AE #AE4E88 #AEA44E #4EAE74
square
#4E58AE #AE4E88 #AEA44E #4EAE74
split-complementary
#4E58AE #AE744E #88AE4E
monochromatic
#282D59 #3B4384 #4E58AE #777FC2 #A1A7D5

Accessibility & contrast

On white

6.30
#4E58AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4E58AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58AE
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58AE#FFFFFF#000000##FFFFFF
##4E58AE1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E64B1
Deuteranopia (green-blind)
#215CAC
Tritanopia (blue-blind)
#1D6B7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e58ae;
/* rgb */ color: rgb(78, 88, 174);
/* oklch */ color: oklch(49.7% 0.136 275.3);
Tailwind
colors: {
  custom: {
    50: '#8787c7',
    500: '#4e58ae',
    950: '#000000',
  },
}
SCSS
$custom: #4e58ae;
$custom-light: #8787c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58ae",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 174
  },
  "hsl": {
    "h": 233.75,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49671,
    "c": 0.1357,
    "h": 275.3
  },
  "luminance": 0.11655
}

Semantic roles & 50–950 ramp

primary
#4E58AE
secondary
#C2BD96
accent
#C25ACE
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E58AE

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

Preview Lab → · Contrast checker → · Palette generator →

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