#4E58D3#4E58D3

#4E58D3 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.4% C 0.187 H 274.4°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4E58D3
RGBrgb(78, 88, 211)
HSLhsl(235, 60%, 57%)
HSVhsv(235, 63%, 83%)
CMYKcmyk(63%, 58.3%, 0%, 17.3%)
CIE-LABlab(43.21, 33.94, -64.75)
CIE-LCHlch(43.21, 73.11, 297.66°)
OKLaboklab(52.39% 0.0145 -0.1863)
OKLCHoklch(52.39% 0.187 274.4)
XYZxyz(18.3856, 13.3008, 63.2138)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58D3 #D3C94E
analogous
#4E9BD3 #4E58D3 #874ED3
triadic
#4E58D3 #D34E58 #58D34E
tetradic
#4E58D3 #D34E9B #D3C94E #4ED387
square
#4E58D3 #D34E9B #D3C94E #4ED387
split-complementary
#4E58D3 #D3874E #9BD34E
monochromatic
#212985 #2D38B6 #4E58D3 #7F86DF #B0B4EB

Accessibility & contrast

On white

5.74
#4E58D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4E58D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58D3
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58D3#FFFFFF#000000##FFFFFF
##4E58D31.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#0060D1
Tritanopia (blue-blind)
#00768D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e58d3;
/* rgb */ color: rgb(78, 88, 211);
/* oklch */ color: oklch(52.4% 0.187 274.4);
Tailwind
colors: {
  custom: {
    50: '#8d87e1',
    500: '#4e58d3',
    950: '#000000',
  },
}
SCSS
$custom: #4e58d3;
$custom-light: #8d87e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58d3",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 211
  },
  "hsl": {
    "h": 235.489,
    "s": 60.181,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52393,
    "c": 0.18685,
    "h": 274.4
  },
  "luminance": 0.13302
}

Semantic roles & 50–950 ramp

primary
#4E58D3
secondary
#DAD6A3
accent
#D744E3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E58D3

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

Preview Lab → · Contrast checker → · Palette generator →

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