#4B58D7#4B58D7

#4B58D7 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.5% C 0.193 H 273.3°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#4B58D7
RGBrgb(75, 88, 215)
HSLhsl(234, 64%, 57%)
HSVhsv(234, 65%, 84%)
CMYKcmyk(65.1%, 59.1%, 0%, 15.7%)
CIE-LABlab(43.33, 34.83, -66.86)
CIE-LCHlch(43.33, 75.39, 297.52°)
OKLaboklab(52.53% 0.0112 -0.1926)
OKLCHoklch(52.53% 0.193 273.3)
XYZxyz(18.6530, 13.3799, 65.8764)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B58D7 #D7CA4B
analogous
#4B9ED7 #4B58D7 #844BD7
triadic
#4B58D7 #D74B58 #58D74B
tetradic
#4B58D7 #D74B9E #D7CA4B #4BD784
square
#4B58D7 #D74B9E #D7CA4B #4BD784
split-complementary
#4B58D7 #D7844B #9ED74B
monochromatic
#1E2889 #2A37BB #4B58D7 #7D86E2 #AFB5ED

Accessibility & contrast

On white

5.71
#4B58D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4B58D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B58D7
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B58D7#FFFFFF#000000##FFFFFF
##4B58D71.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#0060D4
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4b58d7;
/* rgb */ color: rgb(75, 88, 215);
/* oklch */ color: oklch(52.5% 0.193 273.3);
Tailwind
colors: {
  custom: {
    50: '#8c87e4',
    500: '#4b58d7',
    950: '#000000',
  },
}
SCSS
$custom: #4b58d7;
$custom-light: #8c87e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b58d7",
  "rgb": {
    "r": 75,
    "g": 88,
    "b": 215
  },
  "hsl": {
    "h": 234.429,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52526,
    "c": 0.19288,
    "h": 273.3
  },
  "luminance": 0.13382
}

Semantic roles & 50–950 ramp

primary
#4B58D7
secondary
#DBD6A2
accent
#D741E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4B58D7

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

Preview Lab → · Contrast checker → · Palette generator →

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