#4E58AD#4E58AD

#4E58AD is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.6% C 0.134 H 275.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#4E58AD
RGBrgb(78, 88, 173)
HSLhsl(234, 38%, 49%)
HSVhsv(234, 55%, 68%)
CMYKcmyk(54.9%, 49.1%, 0%, 32.2%)
CIE-LABlab(40.60, 21.18, -46.87)
CIE-LCHlch(40.60, 51.43, 294.32°)
OKLaboklab(49.6% 0.0125 -0.1337)
OKLCHoklch(49.6% 0.134 275.3)
XYZxyz(14.1720, 11.6153, 41.0222)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58AD #ADA34E
analogous
#4E88AD #4E58AD #744EAD
triadic
#4E58AD #AD4E58 #58AD4E
tetradic
#4E58AD #AD4E88 #ADA34E #4EAD74
square
#4E58AD #AD4E88 #ADA34E #4EAD74
split-complementary
#4E58AD #AD744E #88AD4E
monochromatic
#282D59 #3B4383 #4E58AD #777FC2 #A1A6D5

Accessibility & contrast

On white

6.32
#4E58AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4E58AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58AD
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58AD#FFFFFF#000000##FFFFFF
##4E58AD1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F64B0
Deuteranopia (green-blind)
#235CAB
Tritanopia (blue-blind)
#1F6B7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e58ad;
/* rgb */ color: rgb(78, 88, 173);
/* oklch */ color: oklch(49.6% 0.134 275.3);
Tailwind
colors: {
  custom: {
    50: '#8787c6',
    500: '#4e58ad',
    950: '#000000',
  },
}
SCSS
$custom: #4e58ad;
$custom-light: #8787c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58ad",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 173
  },
  "hsl": {
    "h": 233.684,
    "s": 37.849,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49603,
    "c": 0.13426,
    "h": 275.3
  },
  "luminance": 0.11616
}

Semantic roles & 50–950 ramp

primary
#4E58AD
secondary
#C2BD95
accent
#C25ACE
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E58AD

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

Preview Lab → · Contrast checker → · Palette generator →

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