#4E58BB#4E58BB

#4E58BB is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.6% C 0.154 H 275.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#4E58BB
RGBrgb(78, 88, 187)
HSLhsl(234, 44%, 52%)
HSVhsv(234, 58%, 73%)
CMYKcmyk(58.3%, 52.9%, 0%, 26.7%)
CIE-LABlab(41.51, 25.86, -53.62)
CIE-LCHlch(41.51, 59.53, 295.75°)
OKLaboklab(50.58% 0.0137 -0.1535)
OKLCHoklch(50.58% 0.154 275.1)
XYZxyz(15.5983, 12.1859, 48.5342)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58BB #BBB14E
analogous
#4E8FBB #4E58BB #7A4EBB
triadic
#4E58BB #BB4E58 #58BB4E
tetradic
#4E58BB #BB4E8F #BBB14E #4EBB7A
square
#4E58BB #BB4E8F #BBB14E #4EBB7A
split-complementary
#4E58BB #BB7A4E #8FBB4E
monochromatic
#282D67 #394193 #4E58BB #7A82CC #A6ABDD

Accessibility & contrast

On white

6.11
#4E58BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4E58BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58BB
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58BB#FFFFFF#000000##FFFFFF
##4E58BB1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D67BE
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e58bb;
/* rgb */ color: rgb(78, 88, 187);
/* oklch */ color: oklch(50.6% 0.154 275.1);
Tailwind
colors: {
  custom: {
    50: '#8987d0',
    500: '#4e58bb',
    950: '#000000',
  },
}
SCSS
$custom: #4e58bb;
$custom-light: #8987d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58bb",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 187
  },
  "hsl": {
    "h": 234.495,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50583,
    "c": 0.15415,
    "h": 275.1
  },
  "luminance": 0.12187
}

Semantic roles & 50–950 ramp

primary
#4E58BB
secondary
#CAC69B
accent
#C854D4
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4E58BB

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

Preview Lab → · Contrast checker → · Palette generator →

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