#4B58D4#4B58D4

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

Color values

HEX#4B58D4
RGBrgb(75, 88, 212)
HSLhsl(234, 61%, 56%)
HSVhsv(234, 65%, 83%)
CMYKcmyk(64.6%, 58.5%, 0%, 16.9%)
CIE-LABlab(43.10, 33.81, -65.51)
CIE-LCHlch(43.10, 73.72, 297.30°)
OKLaboklab(52.29% 0.0112 -0.1886)
OKLCHoklch(52.29% 0.189 273.4)
XYZxyz(18.2711, 13.2272, 63.8648)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B58D4 #D4C74B
analogous
#4B9DD4 #4B58D4 #834BD4
triadic
#4B58D4 #D44B58 #58D44B
tetradic
#4B58D4 #D44B9D #D4C74B #4BD483
square
#4B58D4 #D44B9D #D4C74B #4BD483
split-complementary
#4B58D4 #D4834B #9DD44B
monochromatic
#202985 #2C39B6 #4B58D4 #7C86E0 #AEB4EC

Accessibility & contrast

On white

5.76
#4B58D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4B58D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B58D4
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B58D4#FFFFFF#000000##FFFFFF
##4B58D41.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b58d4;
/* rgb */ color: rgb(75, 88, 212);
/* oklch */ color: oklch(52.3% 0.189 273.4);
Tailwind
colors: {
  custom: {
    50: '#8c87e2',
    500: '#4b58d4',
    950: '#000000',
  },
}
SCSS
$custom: #4b58d4;
$custom-light: #8c87e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b58d4",
  "rgb": {
    "r": 75,
    "g": 88,
    "b": 212
  },
  "hsl": {
    "h": 234.307,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52287,
    "c": 0.18893,
    "h": 273.4
  },
  "luminance": 0.13229
}

Semantic roles & 50–950 ramp

primary
#4B58D4
secondary
#DAD4A1
accent
#D543E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #4B58D4

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

Preview Lab → · Contrast checker → · Palette generator →

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