#4E58CD#4E58CD

#4E58CD is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.9% C 0.179 H 274.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#4E58CD
RGBrgb(78, 88, 205)
HSLhsl(235, 56%, 55%)
HSVhsv(235, 62%, 80%)
CMYKcmyk(62%, 57.1%, 0%, 19.6%)
CIE-LABlab(42.77, 31.92, -62.02)
CIE-LCHlch(42.77, 69.75, 297.23°)
OKLaboklab(51.93% 0.0144 -0.1783)
OKLCHoklch(51.93% 0.179 274.6)
XYZxyz(17.6474, 13.0055, 59.3261)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58CD #CDC34E
analogous
#4E97CD #4E58CD #844ECD
triadic
#4E58CD #CD4E58 #58CD4E
tetradic
#4E58CD #CD4E97 #CDC34E #4ECD84
square
#4E58CD #CD4E97 #CDC34E #4ECD84
split-complementary
#4E58CD #CD844E #97CD4E
monochromatic
#232A7D #313BAD #4E58CD #7E85DA #ADB2E8

Accessibility & contrast

On white

5.83
#4E58CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4E58CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58CD
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58CD#FFFFFF#000000##FFFFFF
##4E58CD1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4e58cd;
/* rgb */ color: rgb(78, 88, 205);
/* oklch */ color: oklch(51.9% 0.179 274.6);
Tailwind
colors: {
  custom: {
    50: '#8c87dd',
    500: '#4e58cd',
    950: '#000000',
  },
}
SCSS
$custom: #4e58cd;
$custom-light: #8c87dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58cd",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 235.276,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51926,
    "c": 0.17884,
    "h": 274.6
  },
  "luminance": 0.13007
}

Semantic roles & 50–950 ramp

primary
#4E58CD
secondary
#D6D2A1
accent
#D349DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E58CD

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

Preview Lab → · Contrast checker → · Palette generator →

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