#4B58E4#4B58E4

#4B58E4 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 53.6% C 0.210 H 273.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#4B58E4
RGBrgb(75, 88, 228)
HSLhsl(235, 74%, 59%)
HSVhsv(235, 67%, 89%)
CMYKcmyk(67.1%, 61.4%, 0%, 10.6%)
CIE-LABlab(44.34, 39.23, -72.62)
CIE-LCHlch(44.34, 82.54, 298.38°)
OKLaboklab(53.59% 0.0108 -0.2095)
OKLCHoklch(53.59% 0.21 273)
XYZxyz(20.3903, 14.0748, 75.0259)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B58E4 #E4D74B
analogous
#4BA5E4 #4B58E4 #8B4BE4
triadic
#4B58E4 #E44B58 #58E44B
tetradic
#4B58E4 #E44BA5 #E4D74B #4BE48B
square
#4B58E4 #E44BA5 #E4D74B #4BE48B
split-complementary
#4B58E4 #E48B4B #A5E44B
monochromatic
#18239D #202FD2 #4B58E4 #8089EC #B5BBF4

Accessibility & contrast

On white

5.50
#4B58E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#4B58E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B58E4
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B58E4#FFFFFF#000000##FFFFFF
##4B58E41.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#0062E1
Tritanopia (blue-blind)
#007C96
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4b58e4;
/* rgb */ color: rgb(75, 88, 228);
/* oklch */ color: oklch(53.6% 0.210 273.0);
Tailwind
colors: {
  custom: {
    50: '#8f87ee',
    500: '#4b58e4',
    950: '#000000',
  },
}
SCSS
$custom: #4b58e4;
$custom-light: #8f87ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4b58e4",
  "rgb": {
    "r": 75,
    "g": 88,
    "b": 228
  },
  "hsl": {
    "h": 234.902,
    "s": 73.913,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53587,
    "c": 0.20974,
    "h": 273
  },
  "luminance": 0.14077
}

Semantic roles & 50–950 ramp

primary
#4B58E4
secondary
#E3DEA8
accent
#E137F1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4B58E4

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

Preview Lab → · Contrast checker → · Palette generator →

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