#4D58CF#4D58CF

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

Color values

HEX#4D58CF
RGBrgb(77, 88, 207)
HSLhsl(235, 58%, 56%)
HSVhsv(235, 63%, 81%)
CMYKcmyk(62.8%, 57.5%, 0%, 18.8%)
CIE-LABlab(42.85, 32.43, -63.04)
CIE-LCHlch(42.85, 70.89, 297.22°)
OKLaboklab(52.02% 0.0133 -0.1813)
OKLCHoklch(52.02% 0.182 274.2)
XYZxyz(17.8091, 13.0607, 60.6019)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D58CF #CFC44D
analogous
#4D99CF #4D58CF #834DCF
triadic
#4D58CF #CF4D58 #58CF4D
tetradic
#4D58CF #CF4D99 #CFC44D #4DCF83
square
#4D58CF #CF4D99 #CFC44D #4DCF83
split-complementary
#4D58CF #CF834D #99CF4D
monochromatic
#222A7F #2F3AAF #4D58CF #7D85DC #ADB2E9

Accessibility & contrast

On white

5.81
#4D58CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#4D58CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D58CF
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D58CF#FFFFFF#000000##FFFFFF
##4D58CF1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d58cf;
/* rgb */ color: rgb(77, 88, 207);
/* oklch */ color: oklch(52.0% 0.182 274.2);
Tailwind
colors: {
  custom: {
    50: '#8c87de',
    500: '#4d58cf',
    950: '#000000',
  },
}
SCSS
$custom: #4d58cf;
$custom-light: #8c87de;
$custom-dark: #000000;
JSON
{
  "hex": "#4d58cf",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 234.923,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52017,
    "c": 0.18177,
    "h": 274.2
  },
  "luminance": 0.13062
}

Semantic roles & 50–950 ramp

primary
#4D58CF
secondary
#D7D2A1
accent
#D447E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D58CF

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

Preview Lab → · Contrast checker → · Palette generator →

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