#4D58D0#4D58D0

#4D58D0 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.1% C 0.183 H 274.2°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4D58D0
RGBrgb(77, 88, 208)
HSLhsl(235, 58%, 56%)
HSVhsv(235, 63%, 82%)
CMYKcmyk(63%, 57.7%, 0%, 18.4%)
CIE-LABlab(42.93, 32.77, -63.50)
CIE-LCHlch(42.93, 71.45, 297.30°)
OKLaboklab(52.1% 0.0133 -0.1826)
OKLCHoklch(52.1% 0.183 274.2)
XYZxyz(17.9317, 13.1098, 61.2478)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D58D0 #D0C54D
analogous
#4D99D0 #4D58D0 #834DD0
triadic
#4D58D0 #D04D58 #58D04D
tetradic
#4D58D0 #D04D99 #D0C54D #4DD083
square
#4D58D0 #D04D99 #D0C54D #4DD083
split-complementary
#4D58D0 #D0834D #99D04D
monochromatic
#222A81 #2F3AB1 #4D58D0 #7D85DD #AEB3EA

Accessibility & contrast

On white

5.80
#4D58D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4D58D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D58D0
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D58D0#FFFFFF#000000##FFFFFF
##4D58D01.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD4
Deuteranopia (green-blind)
#0060CE
Tritanopia (blue-blind)
#00758B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4d58d0;
/* rgb */ color: rgb(77, 88, 208);
/* oklch */ color: oklch(52.1% 0.183 274.2);
Tailwind
colors: {
  custom: {
    50: '#8c87df',
    500: '#4d58d0',
    950: '#000000',
  },
}
SCSS
$custom: #4d58d0;
$custom-light: #8c87df;
$custom-dark: #000000;
JSON
{
  "hex": "#4d58d0",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 208
  },
  "hsl": {
    "h": 234.962,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52095,
    "c": 0.18311,
    "h": 274.2
  },
  "luminance": 0.13111
}

Semantic roles & 50–950 ramp

primary
#4D58D0
secondary
#D8D3A1
accent
#D446E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D58D0

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

Preview Lab → · Contrast checker → · Palette generator →

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