#4E58DB#4E58DB

#4E58DB is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.0% C 0.197 H 274.2°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4E58DB
RGBrgb(78, 88, 219)
HSLhsl(236, 66%, 58%)
HSVhsv(236, 64%, 86%)
CMYKcmyk(64.4%, 59.8%, 0%, 14.1%)
CIE-LABlab(43.82, 36.63, -68.35)
CIE-LCHlch(43.82, 77.54, 298.19°)
OKLaboklab(53.03% 0.0143 -0.1968)
OKLCHoklch(53.03% 0.197 274.2)
XYZxyz(19.4136, 13.7119, 68.6277)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58DB #DBD14E
analogous
#4E9EDB #4E58DB #8A4EDB
triadic
#4E58DB #DB4E58 #58DB4E
tetradic
#4E58DB #DB4E9E #DBD14E #4EDB8A
square
#4E58DB #DB4E9E #DBD14E #4EDB8A
split-complementary
#4E58DB #DB8A4E #9EDB4E
monochromatic
#1E2691 #2833C4 #4E58DB #8188E5 #B4B8F0

Accessibility & contrast

On white

5.61
#4E58DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#4E58DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58DB
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58DB#FFFFFF#000000##FFFFFF
##4E58DB1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#0061D8
Tritanopia (blue-blind)
#007891
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e58db;
/* rgb */ color: rgb(78, 88, 219);
/* oklch */ color: oklch(53.0% 0.197 274.2);
Tailwind
colors: {
  custom: {
    50: '#8f87e7',
    500: '#4e58db',
    950: '#000000',
  },
}
SCSS
$custom: #4e58db;
$custom-light: #8f87e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58db",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 235.745,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5303,
    "c": 0.19737,
    "h": 274.2
  },
  "luminance": 0.13714
}

Semantic roles & 50–950 ramp

primary
#4E58DB
secondary
#DEDAA6
accent
#DD3FE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4E58DB

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

Preview Lab → · Contrast checker → · Palette generator →

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