#4B58C7#4B58C7

#4B58C7 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.3% C 0.171 H 273.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#4B58C7
RGBrgb(75, 88, 199)
HSLhsl(234, 53%, 54%)
HSVhsv(234, 62%, 78%)
CMYKcmyk(62.3%, 55.8%, 0%, 22%)
CIE-LABlab(42.15, 29.38, -59.57)
CIE-LCHlch(42.15, 66.42, 296.25°)
OKLaboklab(51.28% 0.011 -0.1711)
OKLCHoklch(51.28% 0.171 273.7)
XYZxyz(16.6968, 12.5974, 55.5734)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B58C7 #C7BA4B
analogous
#4B96C7 #4B58C7 #7C4BC7
triadic
#4B58C7 #C74B58 #58C74B
tetradic
#4B58C7 #C74B96 #C7BA4B #4BC77C
square
#4B58C7 #C74B96 #C7BA4B #4BC77C
split-complementary
#4B58C7 #C77C4B #96C74B
monochromatic
#242C74 #323EA2 #4B58C7 #7A83D6 #A8AFE4

Accessibility & contrast

On white

5.97
#4B58C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4B58C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B58C7
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B58C7#FFFFFF#000000##FFFFFF
##4B58C71.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4b58c7;
/* rgb */ color: rgb(75, 88, 199);
/* oklch */ color: oklch(51.3% 0.171 273.7);
Tailwind
colors: {
  custom: {
    50: '#8a87d9',
    500: '#4b58c7',
    950: '#000000',
  },
}
SCSS
$custom: #4b58c7;
$custom-light: #8a87d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b58c7",
  "rgb": {
    "r": 75,
    "g": 88,
    "b": 199
  },
  "hsl": {
    "h": 233.71,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51277,
    "c": 0.17148,
    "h": 273.7
  },
  "luminance": 0.12599
}

Semantic roles & 50–950 ramp

primary
#4B58C7
secondary
#D1CC9C
accent
#CD4CDC
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4B58C7

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

Preview Lab → · Contrast checker → · Palette generator →

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