#4B58D9#4B58D9

#4B58D9 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.7% C 0.196 H 273.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#4B58D9
RGBrgb(75, 88, 217)
HSLhsl(235, 65%, 57%)
HSVhsv(235, 65%, 85%)
CMYKcmyk(65.4%, 59.4%, 0%, 14.9%)
CIE-LABlab(43.48, 35.51, -67.76)
CIE-LCHlch(43.48, 76.50, 297.66°)
OKLaboklab(52.69% 0.0111 -0.1952)
OKLCHoklch(52.69% 0.196 273.3)
XYZxyz(18.9116, 13.4834, 67.2381)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B58D9 #D9CC4B
analogous
#4B9FD9 #4B58D9 #854BD9
triadic
#4B58D9 #D94B58 #58D94B
tetradic
#4B58D9 #D94B9F #D9CC4B #4BD985
square
#4B58D9 #D94B9F #D9CC4B #4BD985
split-complementary
#4B58D9 #D9854B #9FD94B
monochromatic
#1E288C #2836BF #4B58D9 #7E87E4 #B0B6EE

Accessibility & contrast

On white

5.68
#4B58D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4B58D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B58D9
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B58D9#FFFFFF#000000##FFFFFF
##4B58D91.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#0060D6
Tritanopia (blue-blind)
#007890
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4b58d9;
/* rgb */ color: rgb(75, 88, 217);
/* oklch */ color: oklch(52.7% 0.196 273.3);
Tailwind
colors: {
  custom: {
    50: '#8d87e6',
    500: '#4b58d9',
    950: '#000000',
  },
}
SCSS
$custom: #4b58d9;
$custom-light: #8d87e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b58d9",
  "rgb": {
    "r": 75,
    "g": 88,
    "b": 217
  },
  "hsl": {
    "h": 234.507,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52687,
    "c": 0.19551,
    "h": 273.3
  },
  "luminance": 0.13485
}

Semantic roles & 50–950 ramp

primary
#4B58D9
secondary
#DDD7A3
accent
#D940E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4B58D9

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

Preview Lab → · Contrast checker → · Palette generator →

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