#4E58C3#4E58C3

#4E58C3 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.2% C 0.165 H 274.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#4E58C3
RGBrgb(78, 88, 195)
HSLhsl(235, 49%, 54%)
HSVhsv(235, 60%, 76%)
CMYKcmyk(60%, 54.9%, 0%, 23.5%)
CIE-LABlab(42.06, 28.55, -57.39)
CIE-LCHlch(42.06, 64.10, 296.45°)
OKLaboklab(51.17% 0.0142 -0.1646)
OKLCHoklch(51.17% 0.165 274.9)
XYZxyz(16.4787, 12.5380, 53.1709)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58C3 #C3B94E
analogous
#4E92C3 #4E58C3 #7E4EC3
triadic
#4E58C3 #C34E58 #58C34E
tetradic
#4E58C3 #C34E92 #C3B94E #4EC37E
square
#4E58C3 #C34E92 #C3B94E #4EC37E
split-complementary
#4E58C3 #C37E4E #92C34E
monochromatic
#262C70 #363F9E #4E58C3 #7C83D2 #A9AEE2

Accessibility & contrast

On white

5.99
#4E58C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4E58C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58C3
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58C3#FFFFFF#000000##FFFFFF
##4E58C31.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0868C7
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#007185
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e58c3;
/* rgb */ color: rgb(78, 88, 195);
/* oklch */ color: oklch(51.2% 0.165 274.9);
Tailwind
colors: {
  custom: {
    50: '#8a87d6',
    500: '#4e58c3',
    950: '#000000',
  },
}
SCSS
$custom: #4e58c3;
$custom-light: #8a87d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58c3",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 195
  },
  "hsl": {
    "h": 234.872,
    "s": 49.367,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51169,
    "c": 0.16525,
    "h": 274.9
  },
  "luminance": 0.12539
}

Semantic roles & 50–950 ramp

primary
#4E58C3
secondary
#CFCB9D
accent
#CD4FD9
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #4E58C3

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

Preview Lab → · Contrast checker → · Palette generator →

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