#4D58CA#4D58CA

#4D58CA is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.6% C 0.175 H 274.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#4D58CA
RGBrgb(77, 88, 202)
HSLhsl(235, 54%, 55%)
HSVhsv(235, 62%, 79%)
CMYKcmyk(61.9%, 56.4%, 0%, 20.8%)
CIE-LABlab(42.49, 30.74, -60.75)
CIE-LCHlch(42.49, 68.08, 296.84°)
OKLaboklab(51.63% 0.0133 -0.1745)
OKLCHoklch(51.63% 0.175 274.3)
XYZxyz(17.2075, 12.8201, 57.4334)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D58CA #CABF4D
analogous
#4D97CA #4D58CA #814DCA
triadic
#4D58CA #CA4D58 #58CA4D
tetradic
#4D58CA #CA4D97 #CABF4D #4DCA81
square
#4D58CA #CA4D97 #CABF4D #4DCA81
split-complementary
#4D58CA #CA814D #97CA4D
monochromatic
#242B79 #323CA8 #4D58CA #7C84D8 #ABB0E6

Accessibility & contrast

On white

5.89
#4D58CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4D58CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D58CA
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D58CA#FFFFFF#000000##FFFFFF
##4D58CA1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4d58ca;
/* rgb */ color: rgb(77, 88, 202);
/* oklch */ color: oklch(51.6% 0.175 274.3);
Tailwind
colors: {
  custom: {
    50: '#8b87db',
    500: '#4d58ca',
    950: '#000000',
  },
}
SCSS
$custom: #4d58ca;
$custom-light: #8b87db;
$custom-dark: #000000;
JSON
{
  "hex": "#4d58ca",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 234.72,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51632,
    "c": 0.17504,
    "h": 274.3
  },
  "luminance": 0.12821
}

Semantic roles & 50–950 ramp

primary
#4D58CA
secondary
#D4CF9F
accent
#D14ADD
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D58CA

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

Preview Lab → · Contrast checker → · Palette generator →

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