#4E58A3#4E58A3

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

Color values

HEX#4E58A3
RGBrgb(78, 88, 163)
HSLhsl(233, 35%, 47%)
HSVhsv(233, 52%, 64%)
CMYKcmyk(52.1%, 46%, 0%, 36.1%)
CIE-LABlab(39.99, 17.87, -41.92)
CIE-LCHlch(39.99, 45.57, 293.09°)
OKLaboklab(48.94% 0.0112 -0.1191)
OKLCHoklch(48.94% 0.12 275.4)
XYZxyz(13.2404, 11.2427, 36.1156)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58A3 #A3994E
analogous
#4E83A3 #4E58A3 #6E4EA3
triadic
#4E58A3 #A34E58 #58A34E
tetradic
#4E58A3 #A34E83 #A3994E #4EA36E
square
#4E58A3 #A34E83 #A3994E #4EA36E
split-complementary
#4E58A3 #A36E4E #83A34E
monochromatic
#262B50 #3A427A #4E58A3 #727BBC #9CA2D0

Accessibility & contrast

On white

6.46
#4E58A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4E58A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58A3
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58A3#FFFFFF#000000##FFFFFF
##4E58A31.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3862A6
Deuteranopia (green-blind)
#2F5BA1
Tritanopia (blue-blind)
#2A6875
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e58a3;
/* rgb */ color: rgb(78, 88, 163);
/* oklch */ color: oklch(48.9% 0.120 275.4);
Tailwind
colors: {
  custom: {
    50: '#8587bf',
    500: '#4e58a3',
    950: '#000000',
  },
}
SCSS
$custom: #4e58a3;
$custom-light: #8587bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58a3",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 163
  },
  "hsl": {
    "h": 232.941,
    "s": 35.27,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48941,
    "c": 0.11966,
    "h": 275.4
  },
  "luminance": 0.11243
}

Semantic roles & 50–950 ramp

primary
#4E58A3
secondary
#BCB791
accent
#BE5CCB
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4E58A3

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

Preview Lab → · Contrast checker → · Palette generator →

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