#4E58B3#4E58B3

#4E58B3 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.0% C 0.143 H 275.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#4E58B3
RGBrgb(78, 88, 179)
HSLhsl(234, 40%, 50%)
HSVhsv(234, 56%, 70%)
CMYKcmyk(56.4%, 50.8%, 0%, 29.8%)
CIE-LABlab(40.98, 23.18, -49.79)
CIE-LCHlch(40.98, 54.92, 294.96°)
OKLaboklab(50.02% 0.0131 -0.1423)
OKLCHoklch(50.02% 0.143 275.3)
XYZxyz(14.7657, 11.8528, 44.1488)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58B3 #B3A94E
analogous
#4E8BB3 #4E58B3 #764EB3
triadic
#4E58B3 #B34E58 #58B34E
tetradic
#4E58B3 #B34E8B #B3A94E #4EB376
square
#4E58B3 #B34E8B #B3A94E #4EB376
split-complementary
#4E58B3 #B3764E #8BB34E
monochromatic
#282E5E #3B4389 #4E58B3 #7980C5 #A4A9D8

Accessibility & contrast

On white

6.23
#4E58B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4E58B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58B3
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58B3#FFFFFF#000000##FFFFFF
##4E58B31.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2965B6
Deuteranopia (green-blind)
#185DB1
Tritanopia (blue-blind)
#156C7D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e58b3;
/* rgb */ color: rgb(78, 88, 179);
/* oklch */ color: oklch(50.0% 0.143 275.3);
Tailwind
colors: {
  custom: {
    50: '#8887ca',
    500: '#4e58b3',
    950: '#000000',
  },
}
SCSS
$custom: #4e58b3;
$custom-light: #8887ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58b3",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 179
  },
  "hsl": {
    "h": 234.059,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50016,
    "c": 0.14286,
    "h": 275.3
  },
  "luminance": 0.11854
}

Semantic roles & 50–950 ramp

primary
#4E58B3
secondary
#C5C098
accent
#C458D0
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E58B3

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

Preview Lab → · Contrast checker → · Palette generator →

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