#4E58B8#4E58B8

#4E58B8 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.4% C 0.150 H 275.2°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#4E58B8
RGBrgb(78, 88, 184)
HSLhsl(234, 43%, 51%)
HSVhsv(234, 58%, 72%)
CMYKcmyk(57.6%, 52.2%, 0%, 27.8%)
CIE-LABlab(41.31, 24.85, -52.19)
CIE-LCHlch(41.31, 57.81, 295.46°)
OKLaboklab(50.37% 0.0135 -0.1493)
OKLCHoklch(50.37% 0.15 275.2)
XYZxyz(15.2805, 12.0587, 46.8605)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58B8 #B8AE4E
analogous
#4E8DB8 #4E58B8 #794EB8
triadic
#4E58B8 #B84E58 #58B84E
tetradic
#4E58B8 #B84E8D #B8AE4E #4EB879
square
#4E58B8 #B84E8D #B8AE4E #4EB879
split-complementary
#4E58B8 #B8794E #8DB84E
monochromatic
#282E64 #39428F #4E58B8 #7A81CA #A5AADB

Accessibility & contrast

On white

6.15
#4E58B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4E58B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58B8
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58B8#FFFFFF#000000##FFFFFF
##4E58B81.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2266BB
Deuteranopia (green-blind)
#095DB6
Tritanopia (blue-blind)
#086E7F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e58b8;
/* rgb */ color: rgb(78, 88, 184);
/* oklch */ color: oklch(50.4% 0.150 275.2);
Tailwind
colors: {
  custom: {
    50: '#8987ce',
    500: '#4e58b8',
    950: '#000000',
  },
}
SCSS
$custom: #4e58b8;
$custom-light: #8987ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58b8",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 184
  },
  "hsl": {
    "h": 234.34,
    "s": 42.742,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50368,
    "c": 0.14994,
    "h": 275.2
  },
  "luminance": 0.1206
}

Semantic roles & 50–950 ramp

primary
#4E58B8
secondary
#C8C49A
accent
#C755D3
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4E58B8

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

Preview Lab → · Contrast checker → · Palette generator →

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