#4E58A2#4E58A2

#4E58A2 is a mid, moderate blue. Relative luminance 0.112; OKLCH L 48.9% C 0.118 H 275.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#4E58A2
RGBrgb(78, 88, 162)
HSLhsl(233, 35%, 47%)
HSVhsv(233, 52%, 64%)
CMYKcmyk(51.9%, 45.7%, 0%, 36.5%)
CIE-LABlab(39.93, 17.55, -41.42)
CIE-LCHlch(39.93, 44.98, 292.96°)
OKLaboklab(48.88% 0.011 -0.1177)
OKLCHoklch(48.88% 0.118 275.3)
XYZxyz(13.1511, 11.2070, 35.6456)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58A2 #A2984E
analogous
#4E82A2 #4E58A2 #6E4EA2
triadic
#4E58A2 #A24E58 #58A24E
tetradic
#4E58A2 #A24E82 #A2984E #4EA26E
square
#4E58A2 #A24E82 #A2984E #4EA26E
split-complementary
#4E58A2 #A26E4E #82A24E
monochromatic
#262B4F #3A4279 #4E58A2 #727BBB #9BA2CF

Accessibility & contrast

On white

6.48
#4E58A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4E58A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58A2
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58A2#FFFFFF#000000##FFFFFF
##4E58A21.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3962A5
Deuteranopia (green-blind)
#305BA0
Tritanopia (blue-blind)
#2A6875
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e58a2;
/* rgb */ color: rgb(78, 88, 162);
/* oklch */ color: oklch(48.9% 0.118 275.3);
Tailwind
colors: {
  custom: {
    50: '#8587be',
    500: '#4e58a2',
    950: '#000000',
  },
}
SCSS
$custom: #4e58a2;
$custom-light: #8587be;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58a2",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 162
  },
  "hsl": {
    "h": 232.857,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48877,
    "c": 0.11818,
    "h": 275.3
  },
  "luminance": 0.11208
}

Semantic roles & 50–950 ramp

primary
#4E58A2
secondary
#BCB790
accent
#BE5DCB
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4E58A2

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

Preview Lab → · Contrast checker → · Palette generator →

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