#4B58D2#4B58D2

#4B58D2 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.1% C 0.186 H 273.4°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4B58D2
RGBrgb(75, 88, 210)
HSLhsl(234, 60%, 56%)
HSVhsv(234, 64%, 82%)
CMYKcmyk(64.3%, 58.1%, 0%, 17.6%)
CIE-LABlab(42.95, 33.13, -64.61)
CIE-LCHlch(42.95, 72.61, 297.15°)
OKLaboklab(52.13% 0.0112 -0.1859)
OKLCHoklch(52.13% 0.186 273.4)
XYZxyz(18.0204, 13.1269, 62.5444)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B58D2 #D2C54B
analogous
#4B9BD2 #4B58D2 #814BD2
triadic
#4B58D2 #D24B58 #58D24B
tetradic
#4B58D2 #D24B9B #D2C54B #4BD281
square
#4B58D2 #D24B9B #D2C54B #4BD281
split-complementary
#4B58D2 #D2814B #9BD24B
monochromatic
#212A82 #2D3AB3 #4B58D2 #7C85DE #ADB3EA

Accessibility & contrast

On white

5.79
#4B58D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4B58D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B58D2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B58D2#FFFFFF#000000##FFFFFF
##4B58D21.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#0060D0
Tritanopia (blue-blind)
#00768C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4b58d2;
/* rgb */ color: rgb(75, 88, 210);
/* oklch */ color: oklch(52.1% 0.186 273.4);
Tailwind
colors: {
  custom: {
    50: '#8c87e1',
    500: '#4b58d2',
    950: '#000000',
  },
}
SCSS
$custom: #4b58d2;
$custom-light: #8c87e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b58d2",
  "rgb": {
    "r": 75,
    "g": 88,
    "b": 210
  },
  "hsl": {
    "h": 234.222,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52129,
    "c": 0.18628,
    "h": 273.4
  },
  "luminance": 0.13128
}

Semantic roles & 50–950 ramp

primary
#4B58D2
secondary
#D8D3A0
accent
#D445E3
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4B58D2

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

Preview Lab → · Contrast checker → · Palette generator →

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