#4B58D3#4B58D3

#4B58D3 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.2% C 0.188 H 273.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#4B58D3
RGBrgb(75, 88, 211)
HSLhsl(234, 61%, 56%)
HSVhsv(234, 64%, 83%)
CMYKcmyk(64.5%, 58.3%, 0%, 17.3%)
CIE-LABlab(43.03, 33.47, -65.06)
CIE-LCHlch(43.03, 73.17, 297.22°)
OKLaboklab(52.21% 0.0112 -0.1873)
OKLCHoklch(52.21% 0.188 273.4)
XYZxyz(18.1453, 13.1769, 63.2025)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B58D3 #D3C64B
analogous
#4B9CD3 #4B58D3 #824BD3
triadic
#4B58D3 #D34B58 #58D34B
tetradic
#4B58D3 #D34B9C #D3C64B #4BD382
square
#4B58D3 #D34B9C #D3C64B #4BD382
split-complementary
#4B58D3 #D3824B #9CD34B
monochromatic
#202A83 #2C39B5 #4B58D3 #7C86DF #ADB3EB

Accessibility & contrast

On white

5.78
#4B58D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4B58D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B58D3
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B58D3#FFFFFF#000000##FFFFFF
##4B58D31.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#0060D1
Tritanopia (blue-blind)
#00768D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4b58d3;
/* rgb */ color: rgb(75, 88, 211);
/* oklch */ color: oklch(52.2% 0.188 273.4);
Tailwind
colors: {
  custom: {
    50: '#8c87e1',
    500: '#4b58d3',
    950: '#000000',
  },
}
SCSS
$custom: #4b58d3;
$custom-light: #8c87e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b58d3",
  "rgb": {
    "r": 75,
    "g": 88,
    "b": 211
  },
  "hsl": {
    "h": 234.265,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52208,
    "c": 0.1876,
    "h": 273.4
  },
  "luminance": 0.13178
}

Semantic roles & 50–950 ramp

primary
#4B58D3
secondary
#D9D4A1
accent
#D544E4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4B58D3

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

Preview Lab → · Contrast checker → · Palette generator →

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