#4E58A6#4E58A6

#4E58A6 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.1% C 0.124 H 275.4°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#4E58A6
RGBrgb(78, 88, 166)
HSLhsl(233, 36%, 48%)
HSVhsv(233, 53%, 65%)
CMYKcmyk(53%, 47%, 0%, 34.9%)
CIE-LABlab(40.17, 18.86, -43.41)
CIE-LCHlch(40.17, 47.33, 293.48°)
OKLaboklab(49.14% 0.0116 -0.1235)
OKLCHoklch(49.14% 0.124 275.4)
XYZxyz(13.5124, 11.3515, 37.5480)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58A6 #A69C4E
analogous
#4E84A6 #4E58A6 #704EA6
triadic
#4E58A6 #A64E58 #58A64E
tetradic
#4E58A6 #A64E84 #A69C4E #4EA670
square
#4E58A6 #A64E84 #A69C4E #4EA670
split-complementary
#4E58A6 #A6704E #84A64E
monochromatic
#272C53 #3A427C #4E58A6 #747CBE #9DA3D1

Accessibility & contrast

On white

6.42
#4E58A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4E58A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58A6
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58A6#FFFFFF#000000##FFFFFF
##4E58A61.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3562A9
Deuteranopia (green-blind)
#2C5BA4
Tritanopia (blue-blind)
#276977
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e58a6;
/* rgb */ color: rgb(78, 88, 166);
/* oklch */ color: oklch(49.1% 0.124 275.4);
Tailwind
colors: {
  custom: {
    50: '#8687c1',
    500: '#4e58a6',
    950: '#000000',
  },
}
SCSS
$custom: #4e58a6;
$custom-light: #8687c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58a6",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 166
  },
  "hsl": {
    "h": 233.182,
    "s": 36.066,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49136,
    "c": 0.12407,
    "h": 275.4
  },
  "luminance": 0.11352
}

Semantic roles & 50–950 ramp

primary
#4E58A6
secondary
#BEB992
accent
#BF5CCC
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #4E58A6

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

Preview Lab → · Contrast checker → · Palette generator →

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