#4E58AB#4E58AB

#4E58AB is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.5% C 0.131 H 275.4°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#4E58AB
RGBrgb(78, 88, 171)
HSLhsl(234, 37%, 49%)
HSVhsv(234, 54%, 67%)
CMYKcmyk(54.4%, 48.5%, 0%, 32.9%)
CIE-LABlab(40.47, 20.51, -45.89)
CIE-LCHlch(40.47, 50.26, 294.09°)
OKLaboklab(49.47% 0.0123 -0.1308)
OKLCHoklch(49.47% 0.131 275.4)
XYZxyz(13.9799, 11.5385, 40.0107)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58AB #ABA14E
analogous
#4E87AB #4E58AB #734EAB
triadic
#4E58AB #AB4E58 #58AB4E
tetradic
#4E58AB #AB4E87 #ABA14E #4EAB73
square
#4E58AB #AB4E87 #ABA14E #4EAB73
split-complementary
#4E58AB #AB734E #87AB4E
monochromatic
#282D57 #3B4281 #4E58AB #767EC0 #A0A5D4

Accessibility & contrast

On white

6.35
#4E58AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4E58AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58AB
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58AB#FFFFFF#000000##FFFFFF
##4E58AB1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3163AE
Deuteranopia (green-blind)
#265CA9
Tritanopia (blue-blind)
#216A79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e58ab;
/* rgb */ color: rgb(78, 88, 171);
/* oklch */ color: oklch(49.5% 0.131 275.4);
Tailwind
colors: {
  custom: {
    50: '#8787c4',
    500: '#4e58ab',
    950: '#000000',
  },
}
SCSS
$custom: #4e58ab;
$custom-light: #8787c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58ab",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 171
  },
  "hsl": {
    "h": 233.548,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49468,
    "c": 0.13136,
    "h": 275.4
  },
  "luminance": 0.11539
}

Semantic roles & 50–950 ramp

primary
#4E58AB
secondary
#C1BC94
accent
#C15ACD
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E58AB

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

Preview Lab → · Contrast checker → · Palette generator →

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