#4E58A7#4E58A7

#4E58A7 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.2% C 0.126 H 275.4°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#4E58A7
RGBrgb(78, 88, 167)
HSLhsl(233, 36%, 48%)
HSVhsv(233, 53%, 65%)
CMYKcmyk(53.3%, 47.3%, 0%, 34.5%)
CIE-LABlab(40.23, 19.19, -43.91)
CIE-LCHlch(40.23, 47.92, 293.61°)
OKLaboklab(49.2% 0.0117 -0.125)
OKLCHoklch(49.2% 0.126 275.4)
XYZxyz(13.6044, 11.3883, 38.0330)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58A7 #A79D4E
analogous
#4E85A7 #4E58A7 #704EA7
triadic
#4E58A7 #A74E58 #58A74E
tetradic
#4E58A7 #A74E85 #A79D4E #4EA770
square
#4E58A7 #A74E85 #A79D4E #4EA770
split-complementary
#4E58A7 #A7704E #85A74E
monochromatic
#272C54 #3B427D #4E58A7 #747CBE #9EA4D2

Accessibility & contrast

On white

6.41
#4E58A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4E58A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58A7
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58A7#FFFFFF#000000##FFFFFF
##4E58A71.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3563AA
Deuteranopia (green-blind)
#2B5BA5
Tritanopia (blue-blind)
#266977
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e58a7;
/* rgb */ color: rgb(78, 88, 167);
/* oklch */ color: oklch(49.2% 0.126 275.4);
Tailwind
colors: {
  custom: {
    50: '#8687c1',
    500: '#4e58a7',
    950: '#000000',
  },
}
SCSS
$custom: #4e58a7;
$custom-light: #8687c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58a7",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 167
  },
  "hsl": {
    "h": 233.258,
    "s": 36.327,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49202,
    "c": 0.12554,
    "h": 275.4
  },
  "luminance": 0.11389
}

Semantic roles & 50–950 ramp

primary
#4E58A7
secondary
#BEB992
accent
#C05BCC
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #4E58A7

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

Preview Lab → · Contrast checker → · Palette generator →

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