#4D58BF#4D58BF

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

Color values

HEX#4D58BF
RGBrgb(77, 88, 191)
HSLhsl(234, 47%, 53%)
HSVhsv(234, 60%, 75%)
CMYKcmyk(59.7%, 53.9%, 0%, 25.1%)
CIE-LABlab(41.72, 27.02, -55.63)
CIE-LCHlch(41.72, 61.84, 295.91°)
OKLaboklab(50.81% 0.0129 -0.1595)
OKLCHoklch(50.81% 0.16 274.6)
XYZxyz(15.9512, 12.3176, 50.8171)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D58BF #BFB44D
analogous
#4D91BF #4D58BF #7B4DBF
triadic
#4D58BF #BF4D58 #58BF4D
tetradic
#4D58BF #BF4D91 #BFB44D #4DBF7B
square
#4D58BF #BF4D91 #BFB44D #4DBF7B
split-complementary
#4D58BF #BF7B4D #91BF4D
monochromatic
#272D6B #374098 #4D58BF #7A82CF #A7ACDF

Accessibility & contrast

On white

6.06
#4D58BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D58BF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D58BF#FFFFFF#000000##FFFFFF
##4D58BF1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1567C3
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4d58bf;
/* rgb */ color: rgb(77, 88, 191);
/* oklch */ color: oklch(50.8% 0.160 274.6);
Tailwind
colors: {
  custom: {
    50: '#8987d3',
    500: '#4d58bf',
    950: '#000000',
  },
}
SCSS
$custom: #4d58bf;
$custom-light: #8987d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d58bf",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 234.211,
    "s": 47.107,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50807,
    "c": 0.15998,
    "h": 274.6
  },
  "luminance": 0.12319
}

Semantic roles & 50–950 ramp

primary
#4D58BF
secondary
#CDC89B
accent
#CA51D7
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0D0B14
muted
#7D7C83

Preview Lab

Preview with #4D58BF

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

Preview Lab → · Contrast checker → · Palette generator →

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