#4E58B0#4E58B0

#4E58B0 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.8% C 0.139 H 275.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#4E58B0
RGBrgb(78, 88, 176)
HSLhsl(234, 39%, 50%)
HSVhsv(234, 56%, 69%)
CMYKcmyk(55.7%, 50%, 0%, 31%)
CIE-LABlab(40.79, 22.18, -48.33)
CIE-LCHlch(40.79, 53.18, 294.65°)
OKLaboklab(49.81% 0.0128 -0.138)
OKLCHoklch(49.81% 0.139 275.3)
XYZxyz(14.4656, 11.7327, 42.5683)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58B0 #B0A64E
analogous
#4E89B0 #4E58B0 #754EB0
triadic
#4E58B0 #B04E58 #58B04E
tetradic
#4E58B0 #B04E89 #B0A64E #4EB075
square
#4E58B0 #B04E89 #B0A64E #4EB075
split-complementary
#4E58B0 #B0754E #89B04E
monochromatic
#282E5B #3B4386 #4E58B0 #7880C3 #A2A8D6

Accessibility & contrast

On white

6.27
#4E58B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4E58B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58B0
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58B0#FFFFFF#000000##FFFFFF
##4E58B01.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C64B3
Deuteranopia (green-blind)
#1E5CAE
Tritanopia (blue-blind)
#1A6C7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e58b0;
/* rgb */ color: rgb(78, 88, 176);
/* oklch */ color: oklch(49.8% 0.139 275.3);
Tailwind
colors: {
  custom: {
    50: '#8787c8',
    500: '#4e58b0',
    950: '#000000',
  },
}
SCSS
$custom: #4e58b0;
$custom-light: #8787c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58b0",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 176
  },
  "hsl": {
    "h": 233.878,
    "s": 38.583,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49808,
    "c": 0.13857,
    "h": 275.3
  },
  "luminance": 0.11734
}

Semantic roles & 50–950 ramp

primary
#4E58B0
secondary
#C3BF97
accent
#C359CF
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E58B0

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

Preview Lab → · Contrast checker → · Palette generator →

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