#4D58BB#4D58BB

#4D58BB is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.5% C 0.154 H 274.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#4D58BB
RGBrgb(77, 88, 187)
HSLhsl(234, 45%, 52%)
HSVhsv(234, 59%, 73%)
CMYKcmyk(58.8%, 52.9%, 0%, 26.7%)
CIE-LABlab(41.44, 25.67, -53.73)
CIE-LCHlch(41.44, 59.55, 295.53°)
OKLaboklab(50.52% 0.0126 -0.1539)
OKLCHoklch(50.52% 0.154 274.7)
XYZxyz(15.5170, 12.1439, 48.5304)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D58BB #BBB04D
analogous
#4D8FBB #4D58BB #794DBB
triadic
#4D58BB #BB4D58 #58BB4D
tetradic
#4D58BB #BB4D8F #BBB04D #4DBB79
square
#4D58BB #BB4D8F #BBB04D #4DBB79
split-complementary
#4D58BB #BB794D #8FBB4D
monochromatic
#272D66 #384193 #4D58BB #7982CC #A6ABDD

Accessibility & contrast

On white

6.12
#4D58BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4D58BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D58BB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D58BB#FFFFFF#000000##FFFFFF
##4D58BB1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D67BE
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4d58bb;
/* rgb */ color: rgb(77, 88, 187);
/* oklch */ color: oklch(50.5% 0.154 274.7);
Tailwind
colors: {
  custom: {
    50: '#8987d0',
    500: '#4d58bb',
    950: '#000000',
  },
}
SCSS
$custom: #4d58bb;
$custom-light: #8987d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d58bb",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 187
  },
  "hsl": {
    "h": 234,
    "s": 44.715,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50516,
    "c": 0.15441,
    "h": 274.7
  },
  "luminance": 0.12145
}

Semantic roles & 50–950 ramp

primary
#4D58BB
secondary
#CAC59A
accent
#C853D4
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4D58BB

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

Preview Lab → · Contrast checker → · Palette generator →

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