#4E58B1#4E58B1

#4E58B1 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.9% C 0.140 H 275.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#4E58B1
RGBrgb(78, 88, 177)
HSLhsl(234, 39%, 50%)
HSVhsv(234, 56%, 69%)
CMYKcmyk(55.9%, 50.3%, 0%, 30.6%)
CIE-LABlab(40.85, 22.51, -48.82)
CIE-LCHlch(40.85, 53.76, 294.76°)
OKLaboklab(49.88% 0.0129 -0.1394)
OKLCHoklch(49.88% 0.14 275.3)
XYZxyz(14.5649, 11.7725, 43.0913)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58B1 #B1A74E
analogous
#4E8AB1 #4E58B1 #754EB1
triadic
#4E58B1 #B14E58 #58B14E
tetradic
#4E58B1 #B14E8A #B1A74E #4EB175
square
#4E58B1 #B14E8A #B1A74E #4EB175
split-complementary
#4E58B1 #B1754E #8AB14E
monochromatic
#292E5C #3B4387 #4E58B1 #7880C4 #A3A8D6

Accessibility & contrast

On white

6.26
#4E58B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E58B1
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58B1#FFFFFF#000000##FFFFFF
##4E58B11.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B65B4
Deuteranopia (green-blind)
#1C5CAF
Tritanopia (blue-blind)
#196C7C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e58b1;
/* rgb */ color: rgb(78, 88, 177);
/* oklch */ color: oklch(49.9% 0.140 275.3);
Tailwind
colors: {
  custom: {
    50: '#8787c9',
    500: '#4e58b1',
    950: '#000000',
  },
}
SCSS
$custom: #4e58b1;
$custom-light: #8787c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58b1",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 177
  },
  "hsl": {
    "h": 233.939,
    "s": 38.824,
    "l": 50
  },
  "oklch": {
    "l": 0.49877,
    "c": 0.14001,
    "h": 275.3
  },
  "luminance": 0.11773
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E58B1

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

Preview Lab → · Contrast checker → · Palette generator →

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