#4D58CD#4D58CD

#4D58CD is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.9% C 0.179 H 274.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4D58CD
RGBrgb(77, 88, 205)
HSLhsl(235, 56%, 55%)
HSVhsv(235, 62%, 80%)
CMYKcmyk(62.4%, 57.1%, 0%, 19.6%)
CIE-LABlab(42.71, 31.75, -62.13)
CIE-LCHlch(42.71, 69.77, 297.07°)
OKLaboklab(51.86% 0.0133 -0.1786)
OKLCHoklch(51.86% 0.179 274.3)
XYZxyz(17.5661, 12.9636, 59.3223)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D58CD #CDC24D
analogous
#4D98CD #4D58CD #824DCD
triadic
#4D58CD #CD4D58 #58CD4D
tetradic
#4D58CD #CD4D98 #CDC24D #4DCD82
square
#4D58CD #CD4D98 #CDC24D #4DCD82
split-complementary
#4D58CD #CD824D #98CD4D
monochromatic
#232B7D #303BAC #4D58CD #7D85DA #ADB2E8

Accessibility & contrast

On white

5.84
#4D58CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4D58CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D58CD
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D58CD#FFFFFF#000000##FFFFFF
##4D58CD1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4d58cd;
/* rgb */ color: rgb(77, 88, 205);
/* oklch */ color: oklch(51.9% 0.179 274.3);
Tailwind
colors: {
  custom: {
    50: '#8c87dd',
    500: '#4d58cd',
    950: '#000000',
  },
}
SCSS
$custom: #4d58cd;
$custom-light: #8c87dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d58cd",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 234.844,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51862,
    "c": 0.17909,
    "h": 274.3
  },
  "luminance": 0.12965
}

Semantic roles & 50–950 ramp

primary
#4D58CD
secondary
#D6D1A0
accent
#D248DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D58CD

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

Preview Lab → · Contrast checker → · Palette generator →

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