#4D58BE#4D58BE

#4D58BE is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.7% C 0.159 H 274.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#4D58BE
RGBrgb(77, 88, 190)
HSLhsl(234, 47%, 52%)
HSVhsv(234, 59%, 75%)
CMYKcmyk(59.5%, 53.7%, 0%, 25.5%)
CIE-LABlab(41.65, 26.68, -55.15)
CIE-LCHlch(41.65, 61.27, 295.82°)
OKLaboklab(50.73% 0.0128 -0.1581)
OKLCHoklch(50.73% 0.159 274.6)
XYZxyz(15.8415, 12.2737, 50.2395)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D58BE #BEB34D
analogous
#4D91BE #4D58BE #7A4DBE
triadic
#4D58BE #BE4D58 #58BE4D
tetradic
#4D58BE #BE4D91 #BEB34D #4DBE7A
square
#4D58BE #BE4D91 #BEB34D #4DBE7A
split-complementary
#4D58BE #BE7A4D #91BE4D
monochromatic
#272D6A #374097 #4D58BE #7A82CE #A7ACDF

Accessibility & contrast

On white

6.08
#4D58BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4D58BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D58BE
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D58BE#FFFFFF#000000##FFFFFF
##4D58BE1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1767C2
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4d58be;
/* rgb */ color: rgb(77, 88, 190);
/* oklch */ color: oklch(50.7% 0.159 274.6);
Tailwind
colors: {
  custom: {
    50: '#8987d2',
    500: '#4d58be',
    950: '#000000',
  },
}
SCSS
$custom: #4d58be;
$custom-light: #8987d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d58be",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 190
  },
  "hsl": {
    "h": 234.159,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50734,
    "c": 0.15859,
    "h": 274.6
  },
  "luminance": 0.12275
}

Semantic roles & 50–950 ramp

primary
#4D58BE
secondary
#CCC79B
accent
#C952D6
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4D58BE

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

Preview Lab → · Contrast checker → · Palette generator →

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