#4D58BC#4D58BC

#4D58BC is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.6% C 0.156 H 274.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#4D58BC
RGBrgb(77, 88, 188)
HSLhsl(234, 45%, 52%)
HSVhsv(234, 59%, 74%)
CMYKcmyk(59%, 53.2%, 0%, 26.3%)
CIE-LABlab(41.51, 26.00, -54.21)
CIE-LCHlch(41.51, 60.12, 295.63°)
OKLaboklab(50.59% 0.0127 -0.1553)
OKLCHoklch(50.59% 0.156 274.7)
XYZxyz(15.6244, 12.1869, 49.0962)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D58BC #BCB14D
analogous
#4D90BC #4D58BC #7A4DBC
triadic
#4D58BC #BC4D58 #58BC4D
tetradic
#4D58BC #BC4D90 #BCB14D #4DBC7A
square
#4D58BC #BC4D90 #BCB14D #4DBC7A
split-complementary
#4D58BC #BC7A4D #90BC4D
monochromatic
#272D68 #384194 #4D58BC #7982CD #A6ABDD

Accessibility & contrast

On white

6.11
#4D58BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4D58BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D58BC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D58BC#FFFFFF#000000##FFFFFF
##4D58BC1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d58bc;
/* rgb */ color: rgb(77, 88, 188);
/* oklch */ color: oklch(50.6% 0.156 274.7);
Tailwind
colors: {
  custom: {
    50: '#8987d1',
    500: '#4d58bc',
    950: '#000000',
  },
}
SCSS
$custom: #4d58bc;
$custom-light: #8987d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d58bc",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 234.054,
    "s": 45.306,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50588,
    "c": 0.15581,
    "h": 274.7
  },
  "luminance": 0.12188
}

Semantic roles & 50–950 ramp

primary
#4D58BC
secondary
#CBC69A
accent
#C853D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4D58BC

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

Preview Lab → · Contrast checker → · Palette generator →

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