#4B58E6#4B58E6

#4B58E6 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 53.8% C 0.212 H 272.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4B58E6
RGBrgb(75, 88, 230)
HSLhsl(235, 76%, 60%)
HSVhsv(235, 67%, 90%)
CMYKcmyk(67.4%, 61.7%, 0%, 9.8%)
CIE-LABlab(44.50, 39.90, -73.49)
CIE-LCHlch(44.50, 83.62, 298.50°)
OKLaboklab(53.75% 0.0107 -0.212)
OKLCHoklch(53.75% 0.212 272.9)
XYZxyz(20.6695, 14.1865, 76.4966)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B58E6 #E6D94B
analogous
#4BA5E6 #4B58E6 #8C4BE6
triadic
#4B58E6 #E64B58 #58E64B
tetradic
#4B58E6 #E64BA5 #E6D94B #4BE68C
square
#4B58E6 #E64BA5 #E6D94B #4BE68C
split-complementary
#4B58E6 #E68C4B #A5E64B
monochromatic
#1622A0 #1E2DD6 #4B58E6 #818AED #B6BCF5

Accessibility & contrast

On white

5.47
#4B58E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#4B58E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B58E6
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B58E6#FFFFFF#000000##FFFFFF
##4B58E61.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EB
Deuteranopia (green-blind)
#0062E3
Tritanopia (blue-blind)
#007C97
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4b58e6;
/* rgb */ color: rgb(75, 88, 230);
/* oklch */ color: oklch(53.8% 0.212 272.9);
Tailwind
colors: {
  custom: {
    50: '#8f87ef',
    500: '#4b58e6',
    950: '#000000',
  },
}
SCSS
$custom: #4b58e6;
$custom-light: #8f87ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4b58e6",
  "rgb": {
    "r": 75,
    "g": 88,
    "b": 230
  },
  "hsl": {
    "h": 234.968,
    "s": 75.61,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53754,
    "c": 0.21228,
    "h": 272.9
  },
  "luminance": 0.14188
}

Semantic roles & 50–950 ramp

primary
#4B58E6
secondary
#E4DFA8
accent
#E236F2
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4B58E6

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

Preview Lab → · Contrast checker → · Palette generator →

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