#4E58AC#4E58AC

#4E58AC is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.5% C 0.133 H 275.3°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#4E58AC
RGBrgb(78, 88, 172)
HSLhsl(234, 38%, 49%)
HSVhsv(234, 55%, 67%)
CMYKcmyk(54.7%, 48.8%, 0%, 32.5%)
CIE-LABlab(40.54, 20.85, -46.38)
CIE-LCHlch(40.54, 50.85, 294.20°)
OKLaboklab(49.54% 0.0124 -0.1322)
OKLCHoklch(49.54% 0.133 275.3)
XYZxyz(14.0756, 11.5768, 40.5146)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58AC #ACA24E
analogous
#4E87AC #4E58AC #734EAC
triadic
#4E58AC #AC4E58 #58AC4E
tetradic
#4E58AC #AC4E87 #ACA24E #4EAC73
square
#4E58AC #AC4E87 #ACA24E #4EAC73
split-complementary
#4E58AC #AC734E #87AC4E
monochromatic
#282D58 #3B4282 #4E58AC #767EC1 #A0A6D4

Accessibility & contrast

On white

6.33
#4E58AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4E58AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58AC
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58AC#FFFFFF#000000##FFFFFF
##4E58AC1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3064AF
Deuteranopia (green-blind)
#245CAA
Tritanopia (blue-blind)
#206B7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e58ac;
/* rgb */ color: rgb(78, 88, 172);
/* oklch */ color: oklch(49.5% 0.133 275.3);
Tailwind
colors: {
  custom: {
    50: '#8787c5',
    500: '#4e58ac',
    950: '#000000',
  },
}
SCSS
$custom: #4e58ac;
$custom-light: #8787c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58ac",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 172
  },
  "hsl": {
    "h": 233.617,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49535,
    "c": 0.13281,
    "h": 275.3
  },
  "luminance": 0.11578
}

Semantic roles & 50–950 ramp

primary
#4E58AC
secondary
#C1BC95
accent
#C15ACE
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E58AC

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

Preview Lab → · Contrast checker → · Palette generator →

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