#4E58D1#4E58D1

#4E58D1 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.2% C 0.184 H 274.5°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#4E58D1
RGBrgb(78, 88, 209)
HSLhsl(235, 59%, 56%)
HSVhsv(235, 63%, 82%)
CMYKcmyk(62.7%, 57.9%, 0%, 18%)
CIE-LABlab(43.06, 33.27, -63.85)
CIE-LCHlch(43.06, 71.99, 297.52°)
OKLaboklab(52.24% 0.0145 -0.1836)
OKLCHoklch(52.24% 0.184 274.5)
XYZxyz(18.1364, 13.2011, 61.9016)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58D1 #D1C74E
analogous
#4E9AD1 #4E58D1 #864ED1
triadic
#4E58D1 #D14E58 #58D14E
tetradic
#4E58D1 #D14E9A #D1C74E #4ED186
square
#4E58D1 #D14E9A #D1C74E #4ED186
split-complementary
#4E58D1 #D1864E #9AD14E
monochromatic
#222983 #2F39B3 #4E58D1 #7F86DE #AFB4EA

Accessibility & contrast

On white

5.77
#4E58D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4E58D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58D1
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58D1#FFFFFF#000000##FFFFFF
##4E58D11.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD5
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#00758C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e58d1;
/* rgb */ color: rgb(78, 88, 209);
/* oklch */ color: oklch(52.2% 0.184 274.5);
Tailwind
colors: {
  custom: {
    50: '#8d87e0',
    500: '#4e58d1',
    950: '#000000',
  },
}
SCSS
$custom: #4e58d1;
$custom-light: #8d87e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58d1",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 209
  },
  "hsl": {
    "h": 235.42,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52236,
    "c": 0.18419,
    "h": 274.5
  },
  "luminance": 0.13203
}

Semantic roles & 50–950 ramp

primary
#4E58D1
secondary
#D8D4A2
accent
#D646E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E58D1

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

Preview Lab → · Contrast checker → · Palette generator →

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