#4E58B5#4E58B5

#4E58B5 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.2% C 0.146 H 275.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#4E58B5
RGBrgb(78, 88, 181)
HSLhsl(234, 41%, 51%)
HSVhsv(234, 57%, 71%)
CMYKcmyk(56.9%, 51.4%, 0%, 29%)
CIE-LABlab(41.11, 23.85, -50.75)
CIE-LCHlch(41.11, 56.08, 295.17°)
OKLaboklab(50.16% 0.0133 -0.1451)
OKLCHoklch(50.16% 0.146 275.2)
XYZxyz(14.9694, 11.9343, 45.2218)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58B5 #B5AB4E
analogous
#4E8BB5 #4E58B5 #774EB5
triadic
#4E58B5 #B54E58 #58B54E
tetradic
#4E58B5 #B54E8B #B5AB4E #4EB577
square
#4E58B5 #B54E8B #B5AB4E #4EB577
split-complementary
#4E58B5 #B5774E #8BB54E
monochromatic
#282E60 #3A428B #4E58B5 #7981C7 #A4A9D9

Accessibility & contrast

On white

6.20
#4E58B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4E58B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58B5
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58B5#FFFFFF#000000##FFFFFF
##4E58B51.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2665B8
Deuteranopia (green-blind)
#135DB3
Tritanopia (blue-blind)
#116D7E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e58b5;
/* rgb */ color: rgb(78, 88, 181);
/* oklch */ color: oklch(50.2% 0.146 275.2);
Tailwind
colors: {
  custom: {
    50: '#8887cc',
    500: '#4e58b5',
    950: '#000000',
  },
}
SCSS
$custom: #4e58b5;
$custom-light: #8887cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58b5",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 181
  },
  "hsl": {
    "h": 234.175,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50156,
    "c": 0.14571,
    "h": 275.2
  },
  "luminance": 0.11935
}

Semantic roles & 50–950 ramp

primary
#4E58B5
secondary
#C6C299
accent
#C557D1
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E58B5

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

Preview Lab → · Contrast checker → · Palette generator →

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