#4B58D5#4B58D5

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

Color values

HEX#4B58D5
RGBrgb(75, 88, 213)
HSLhsl(234, 62%, 56%)
HSVhsv(234, 65%, 84%)
CMYKcmyk(64.8%, 58.7%, 0%, 16.5%)
CIE-LABlab(43.18, 34.15, -65.96)
CIE-LCHlch(43.18, 74.28, 297.37°)
OKLaboklab(52.37% 0.0112 -0.1899)
OKLCHoklch(52.37% 0.19 273.4)
XYZxyz(18.3976, 13.2778, 64.5312)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B58D5 #D5C84B
analogous
#4B9DD5 #4B58D5 #834BD5
triadic
#4B58D5 #D54B58 #58D54B
tetradic
#4B58D5 #D54B9D #D5C84B #4BD583
square
#4B58D5 #D54B9D #D5C84B #4BD583
split-complementary
#4B58D5 #D5834B #9DD54B
monochromatic
#1F2986 #2B38B8 #4B58D5 #7D86E1 #AEB4EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B58D5#FFFFFF#000000##FFFFFF
##4B58D51.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)
#006CD9
Deuteranopia (green-blind)
#0060D3
Tritanopia (blue-blind)
#00778E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4b58d5;
/* rgb */ color: rgb(75, 88, 213);
/* oklch */ color: oklch(52.4% 0.190 273.4);
Tailwind
colors: {
  custom: {
    50: '#8c87e3',
    500: '#4b58d5',
    950: '#000000',
  },
}
SCSS
$custom: #4b58d5;
$custom-light: #8c87e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b58d5",
  "rgb": {
    "r": 75,
    "g": 88,
    "b": 213
  },
  "hsl": {
    "h": 234.348,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52366,
    "c": 0.19025,
    "h": 273.4
  },
  "luminance": 0.13279
}

Semantic roles & 50–950 ramp

primary
#4B58D5
secondary
#DAD5A2
accent
#D643E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4B58D5

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

Preview Lab → · Contrast checker → · Palette generator →

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