#4D58D3#4D58D3

#4D58D3 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.3% C 0.187 H 274.1°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#4D58D3
RGBrgb(77, 88, 211)
HSLhsl(235, 60%, 56%)
HSVhsv(235, 64%, 83%)
CMYKcmyk(63.5%, 58.3%, 0%, 17.3%)
CIE-LABlab(43.15, 33.78, -64.86)
CIE-LCHlch(43.15, 73.13, 297.51°)
OKLaboklab(52.33% 0.0134 -0.1866)
OKLCHoklch(52.33% 0.187 274.1)
XYZxyz(18.3043, 13.2588, 63.2100)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D58D3 #D3C84D
analogous
#4D9BD3 #4D58D3 #854DD3
triadic
#4D58D3 #D34D58 #58D34D
tetradic
#4D58D3 #D34D9B #D3C84D #4DD385
square
#4D58D3 #D34D9B #D3C84D #4DD385
split-complementary
#4D58D3 #D3854D #9BD34D
monochromatic
#212985 #2D38B6 #4D58D3 #7E86DF #AFB4EB

Accessibility & contrast

On white

5.75
#4D58D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D58D3
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D58D3#FFFFFF#000000##FFFFFF
##4D58D31.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.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: #4d58d3;
/* rgb */ color: rgb(77, 88, 211);
/* oklch */ color: oklch(52.3% 0.187 274.1);
Tailwind
colors: {
  custom: {
    50: '#8d87e1',
    500: '#4d58d3',
    950: '#000000',
  },
}
SCSS
$custom: #4d58d3;
$custom-light: #8d87e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d58d3",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 211
  },
  "hsl": {
    "h": 235.075,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5233,
    "c": 0.1871,
    "h": 274.1
  },
  "luminance": 0.1326
}

Semantic roles & 50–950 ramp

primary
#4D58D3
secondary
#D9D5A2
accent
#D644E4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D58D3

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

Preview Lab → · Contrast checker → · Palette generator →

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