#4E58A5#4E58A5

#4E58A5 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.1% C 0.123 H 275.4°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#4E58A5
RGBrgb(78, 88, 165)
HSLhsl(233, 36%, 48%)
HSVhsv(233, 53%, 65%)
CMYKcmyk(52.7%, 46.7%, 0%, 35.3%)
CIE-LABlab(40.11, 18.53, -42.91)
CIE-LCHlch(40.11, 46.74, 293.36°)
OKLaboklab(49.07% 0.0115 -0.1221)
OKLCHoklch(49.07% 0.123 275.4)
XYZxyz(13.4210, 11.3149, 37.0668)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58A5 #A59B4E
analogous
#4E84A5 #4E58A5 #6F4EA5
triadic
#4E58A5 #A54E58 #58A54E
tetradic
#4E58A5 #A54E84 #A59B4E #4EA56F
square
#4E58A5 #A54E84 #A59B4E #4EA56F
split-complementary
#4E58A5 #A56F4E #84A54E
monochromatic
#272C52 #3A427B #4E58A5 #737CBD #9DA3D1

Accessibility & contrast

On white

6.44
#4E58A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4E58A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58A5
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58A5#FFFFFF#000000##FFFFFF
##4E58A51.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3662A8
Deuteranopia (green-blind)
#2D5BA3
Tritanopia (blue-blind)
#286976
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e58a5;
/* rgb */ color: rgb(78, 88, 165);
/* oklch */ color: oklch(49.1% 0.123 275.4);
Tailwind
colors: {
  custom: {
    50: '#8687c0',
    500: '#4e58a5',
    950: '#000000',
  },
}
SCSS
$custom: #4e58a5;
$custom-light: #8687c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58a5",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 165
  },
  "hsl": {
    "h": 233.103,
    "s": 35.802,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49071,
    "c": 0.12261,
    "h": 275.4
  },
  "luminance": 0.11316
}

Semantic roles & 50–950 ramp

primary
#4E58A5
secondary
#BDB891
accent
#BF5CCC
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #4E58A5

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

Preview Lab → · Contrast checker → · Palette generator →

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