#4E58A1#4E58A1

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

Color values

HEX#4E58A1
RGBrgb(78, 88, 161)
HSLhsl(233, 35%, 47%)
HSVhsv(233, 52%, 63%)
CMYKcmyk(51.6%, 45.3%, 0%, 36.9%)
CIE-LABlab(39.87, 17.22, -40.91)
CIE-LCHlch(39.87, 44.39, 292.82°)
OKLaboklab(48.81% 0.0109 -0.1162)
OKLCHoklch(48.81% 0.117 275.3)
XYZxyz(13.0626, 11.1716, 35.1793)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58A1 #A1974E
analogous
#4E82A1 #4E58A1 #6E4EA1
triadic
#4E58A1 #A14E58 #58A14E
tetradic
#4E58A1 #A14E82 #A1974E #4EA16E
square
#4E58A1 #A14E82 #A1974E #4EA16E
split-complementary
#4E58A1 #A16E4E #82A14E
monochromatic
#262B4F #3A4178 #4E58A1 #727ABB #9BA1CF

Accessibility & contrast

On white

6.49
#4E58A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4E58A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58A1
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58A1#FFFFFF#000000##FFFFFF
##4E58A11.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3961A4
Deuteranopia (green-blind)
#315B9F
Tritanopia (blue-blind)
#2B6874
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e58a1;
/* rgb */ color: rgb(78, 88, 161);
/* oklch */ color: oklch(48.8% 0.117 275.3);
Tailwind
colors: {
  custom: {
    50: '#8587bd',
    500: '#4e58a1',
    950: '#000000',
  },
}
SCSS
$custom: #4e58a1;
$custom-light: #8587bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58a1",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 161
  },
  "hsl": {
    "h": 232.771,
    "s": 34.728,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48813,
    "c": 0.11671,
    "h": 275.3
  },
  "luminance": 0.11172
}

Semantic roles & 50–950 ramp

primary
#4E58A1
secondary
#BBB690
accent
#BE5DCB
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4E58A1

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

Preview Lab → · Contrast checker → · Palette generator →

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